Loading...
Select Version
&pagelevel(4)&pagelevel
Background procedures are also terminated by an EXIT-PROCEDURE, an END-PROCEDURE or CANCEL-PROCEDURE.
After termination of a procedure that was called in the background, the batch job in which it was executed is also terminated. If execution was error-free, the monitoring job variables are set to $T; if execution was aborted due to error, they are set to $A. “Abortion due to an error” is in this case a cancellation of the procedure with CANCEL-JOB or its explicit termination with EXIT-JOB MODE = *ABNORMAL (or the ISP command ABEND), but not a call of the command EXIT-PROCEDURE ERROR = *YES!