|
Thanks Brad,
When DEBUG is on, does the program do other stuff apart from not delete the
JSON data?
On Mon, 10 Jan 2022 at 19:09, Brad Stone <bvstone@xxxxxxxxx> wrote:
I use a data area or control file to say if debug is on or not for myway
application.
I actually always save the JSON data (building or receiving).. .and if
debug is turned off I remove the file(s) with RMVLNK at the end. That
if it hard crashes the data may still be there to look at without havingto
recreate the problem.of
I know others do differently, but after years I've found that's the
easiest.
On Mon, Jan 10, 2022 at 11:41 AM Dave <dfx1@xxxxxxxxxxxxxx> wrote:
Hi,
At the moment, during testing, each time my CGI programme receives JSON
data, I'm saving it to the IFS.
As I won't need to keep the JSON data once the application is deployed,
what
would be the best way to dynamically turn on and off the save function
mailingthe program in case it were needed? Seems to me there are many ways ofdata
doing it. I could configure an environment variable, an URL, change a
area, etc. What do you people do ?
Thanks !
--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400)
--list--
To post a message email: WEB400@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/web400.
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
list
To post a message email: WEB400@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/web400.
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
list
To post a message email: WEB400@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/web400.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.