Loading...
Select Version
The spin-off mechanism is effective for LMS statements by default, i.e. a jump is made to the next //STEP- or //END statement when an error occurs. If the jump is to //END, LMS terminates with TERM UNIT=STEP, MODE=ABNORMAL. The spin-off is then propagated to the next command. The user can decide which errors cause LMS to trigger the spin-off mechanism. It controls this via the MAX-ERROR-WEIGHT operand (see //MODIFY-LMS-DEFAULTS).
Note
If an error occurs during substatement processing which causes the main application to terminate, a main statement is always expected after a specified //STEP statement.