|
I have a CL program that calls a bunch of RPG programs.
The calls are in the form:
CALL FOO
MONMSG MSGID(CEE9901) EXEC(DO)
SNDMSG MSG('We experienced a problem with the +
FOO program, and are skipping the rest +
of this run.') TOMSGQ(QSYSOPR FROBOZZ)
GOTO CMDLBL(SKIPTHIS)
Normally, this works quite well. But today, we experienced an anomaly, such that we would like very much for the CL program to respond differently if a dump is taken on one of the called RPG programs.
I will note that when an *expected* error occurs, the RPG program will respond with a SETON of indicators H1 and LR, followed by a RETURN. The *unexpected* errors *don't* have an explicit SETON of H1. Can I maybe use that?
--
JHHL
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.