|
> when i read first record and call RPG program everything seems > allright but when it comes second record RPG returns MCH3601 for > one of its parameters (first parameter in the Plist). It is almost certain that the problem is caused by the RPG program treating the parameter as longer than it is. The COBOL compiler generates pointers (for any fields/structures that are used as parms) in the "gap" between one 01 level and the next. If COBOL defines a 20 character field and the RPG treats it as 50 long and (say) moves blanks to it "boom" no more valid pointer. If that is not it, can you tell us just what field etc. is being passed. i.e. is it in the record buffer or working storage? What version of COBOL are you using? etc. Jon Paris Partner400
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.