On 2019-02-05 2:06 PM, Dan wrote:
The description for RNX1251 says that "If the major return code is 80 then
a system or file error occurred and programmer action is required to fix
the problem." It gives no indication of what minor return code C0 means.

Is it possible that splitting the EXFMT into WRITE and READ operations
might help? (A question for Barbara?) If for no other reason, I'd encase
each of them in a MONITOR block. Maybe retry 3 times to see if it resolves

Sorry, I don't know whether splitting the EXFMT into WRITE and READ might help. RPG just asks the system to do the operation(s), and handles any resulting exceptions. My guess is that it wouldn't help. but in this case, your guess is as good as mine.

The "Application Display Programming" manual has more information about the minor codes.

For 80C0, it says
"Description: An error that is not recoverable has occurred on the display device.

Action: Your display devices may need to be varied off and then on again. Your program can either:
- Continue processing without the display station.
- Close the device file and open the file again.
- End."

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 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].