|
I have a need to read every file in one folder in the IFS from an RPG program.
I found a great example of how to do that at Scott's web site.
www.scottklement.com/rpg/ifs.html
Thank you Scott for sharing the example.
I chose to test out the program CH4Fixed. I am getting a Decimal data error at line
154 in the field PartNo. During a Debug session I see that PartNo was fine with
numbers from 5001 to 5006. PartNo had garbage put into the field at line 153.
callp read(fd: %addr(PartNo): %size(PartNo))
I'm running v4r4. I didn't get any compile errors. Is there something on that line that
won't run in this version of the OS? Has anyone else run into this? Does anyone have
any ideas of why this might not work?
Thank you,
Gary Kuznitz
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.