On Wed, 17 Dec 2025 16:08:03 -0600, Paul Gilmartin <[email protected]> wrote:

>The problem with SIGNAL is it breaks your DO loops.

Use CALL ON ERROR if you want to leave the DO LOOPS intact (broken as 
designed). The problem with any error is that it breaks most DO loops unless 
error recovery has been implemented.

>I had to help a coworker who overflowed the CALLRETIRN
>stack by SIGNALing out of a procedure.

The OP had an error with LMINIT but was asking for help diagnosing RC=10 for 
LMMCOPY. How is this any different to your coworker solving their problem?

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to