• Subject: RE: RPG/COBOL with embedded CL
  • From: "Fisher, Don" <DRF@xxxxxxxxxxxxxxxx>
  • Date: Mon, 15 Mar 1999 13:31:58 -0500

I believe in RPG, you can trap for QCMDEXC errors using the error indicator.
In COBOL, there is usually a clause that can be used for errors, but it
escapes me.  I think it's "ON ERROR" or something to that effect.

Donald R. Fisher, III
Project Leader
Heilig-Meyers Furniture Company
(804) 784-7500 ext. 2124
Don.Fisher@HeiligMeyers.com


But the problem with QCMDEXC, is that you cannot do a MONMSG on any
commands you run, so if an error occurs in the command, the calling HLL
program falls over. <clip>

+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@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 thread ...


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

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.