|
I'm having an issue parsing JSON files with YAJLINTO.
I have an FTP Script that retrieves .ZIP files (containing the JSON files) from our FTP server.
I then use CPYFRMARCF to extract the JSON files on the IFS.
From there, I am able to open them with Firefox or Notepad, but I cannot use WRKLNK to read them.
The CCSID of the zip file is 819
The CCSID of the extracted JSON files is 37
I don't see how to control the CCSID of the JSON file(s) created by CPYFRMARCF (assuming this is my problem).
If I extract on the PC, Notepad tells me the files are UTF-8.
Any input would be appreciated.
(I'm out until Monday)
Thanks,
Greg
The actual error is:
Message ID . . . . . . : RNX0453 Severity . . . . . . . : 50
Message type . . . . . : Escape
Date sent . . . . . . : 03/28/24 Time sent . . . . . . : 16:45:30
Message . . . . : An error occurred during conversion from CCSID(1208) to
CCSID(937).
Cause . . . . . : In RPG procedure GET_INPUT_ in program YAJL/YAJLINTO, an
error occurred during conversion of data between CCSID(1208) and CCSID(937)
Recovery . . . : Check the joblog for previous messages, and contact the
person responsible for program maintenance to determine the cause of the
problem.
[Logo]<https://www.totalbizfulfillment.com/><https://www.totalbizfulfillment.com/>> Greg Wilburn
Director of IT
301.895.3792 ext. 1231
301.895.3895 direct
gwilburn@xxxxxxxxxxxxxxxxxxxxxxx<mailto:gwilburn@xxxxxxxxxxxxxxxxxxxxxxx><mailto:gwilburn@xxxxxxxxxxxxxxxxxxxxxxx<mailto:gwilburn@xxxxxxxxxxxxxxxxxxxxxxx>>
1 Corporate Dr
Grantsville, MD 21536
www.totalbizfulfillment.com<http://www.totalbizfulfillment.com><http://www.totalbizfulfillment.com<http://www.totalbizfulfillment.com>>
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.