LEAVE

Control is transferred from within a loop to the statement following the END operation.

LEAVE 
        

Remarks

LEAVE causes control to transfer “outwards” by one level only in nested loops. LEAVE is not allowed without a DO group.

LEAVE is similar to the ITERATE operation, however ITERATE transfers control to the loop’s END command.

See Also

DO

DOUNTIL

DOWHILE

END

ITERATE