RC's when running a REXX exec under ISPSTART in Batch
Posted: Thu Nov 03, 2022 5:19 pm
Hi team,
I am running a REXX exec under Batch invocation of ISPSTART.
In this REXX there are several cases where I have to abort using RCs > 0! But unfortunately, they are not reflected in the JOB as it always ends with RC=0
How can I make the Batch TSO session which starts ISPSART, sense the RCs of the REXX ?
Thank you, George
I am running a REXX exec under Batch invocation of ISPSTART.
In this REXX there are several cases where I have to abort using RCs > 0! But unfortunately, they are not reflected in the JOB as it always ends with RC=0
READY
ISPSTART CMD(%BIT E PDSUPP DA(*))
ISPD117
The initially invoked CLIST ended with a return code = 12
READY
END
ISPSTART CMD(%BIT E PDSUPP DA(*))
ISPD117
The initially invoked CLIST ended with a return code = 12
READY
END
How can I make the Batch TSO session which starts ISPSART, sense the RCs of the REXX ?
Thank you, George