|
I have an RPGIV program that creates a file in the IFS and writes some text to it. Following the examples in the superlative "Who Knew..." I have used CodePage 437. The file gets created and I can open it through WRKLNK and read it just fine. When I go through Ops Nav and copy it to my PC, however, the contents show as garbage. The file is an XML file so it should be readable by any editor. When I let IE open it the contents are displayed correctly, but the "View Source" option shows the same garbage. To experiment, I took another text file from my PC and copied it to the directory in my IFS. I confirmed that the CodePage is 437, and I can view it on the 400. I then copied that file (again through Ops Nav) back to a different directory on my PC and could read it fine. Does anyone have any idea what could be happening? Am I creating the file incorrectly? I can provide code if necessary. Thanks, Joel Cochran http://www.rpgnext.com
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.