How can a return code be set when running SASSBSTR (batch terminal terminal - BTI) job when a command/update fail?
Users can code a SASSXXBT user exit to set return codes from SASSBSTR based on a error. This is a user defined what messages you would like to see as a failure and set the return code in the table.
Refer to the member in the following dataset:
your.hlq.CAL2OPTN(AL2UM12)