|
Sometime back, someone posted the correct way to write data to an IFS file using ILE RPG and the IFS write() API. I didn't bother looking at it because I use the QDCXLATE program to transalate from EBCDIC to ASCII before writing. Now, I want to read from an IFS file (using read()) and then write a different file back out. Most IFS files that I read work fine but I've run into one from an outside vendor that doesn't work. The file is in ASCII, but when I write it back out, it's get translated back to EBCDIC. I verified this by converting the data using QDCXLATE before writing back out. Does anyone have the correct way of doing this? It had something to do with the codepage parameter. Thanks, Dave +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.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.