Re: YAJL saving json to the IFS
<stefan-6HgPSzB/[email protected]> Fri, 6 Jan 2023 10:57:10 +0100
| Newsgroups | gmane.comp.systems.as400.web |
|---|---|
| Message-ID | <[email protected]> |
Hi Dave, Why not create the streamfile all the time and then just drop it when not needed? Best regards Stefan -- No trees were killed in the sending of this message, but a large number of electrons were terribly upset. Stefan Tageson +46 732 369934 stefan-6HgPSzB/[email protected] -----Original Message----- From: WEB400 <[email protected]> On Behalf Of Dave Sent: Friday, January 6, 2023 10:31 AM To: Web Enabling the IBM i (AS/400 and iSeries) <[email protected]> Subject: [WEB400] YAJL saving json to the IFS Hello, I have a program that saves the json to the ifs or not depending on the value of a data area : if debug_mode yajl_stdin_load_tree(*on : errorMessage : streamFile) else yajl_stdin_load_tree(*on : errorMessage) How can I save the json when not in debug mode and an error is detected during the processing of the different objects? Thanks -- This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing list To post a message email: [email protected] To subscribe, unsubscribe, or change list options, visit: https://lists.midrange.com/mailman/listinfo/web400 or email: [email protected] Before posting, please take a moment to review the archives at https://archive.midrange.com/web400.