|
>> I have an external procedure that chains to a program >> described System/36 file. >> The chain is successful, but none of the fields are >> returned?? S/36 files are no different to any other program described file. So ..... Most likely cause is that you have local copies of the file's fields defined in the subproc but are not doing a read/chain with the DS as a result field. Unless you use the "into DS result" option, I/O will _always_ use the global fields. If the same fields are defined in the subproc then the subproc code will see the local fields but not the data. That would explain why changing it to a program works, since everything is then using the global variables. Jon Paris Partner400 www.Partner400.com www.RPGWorld.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.