LEAVE – Exit the current loop
Use the LEAVE
command to exit the
current iteration of a DO
block, and resume
processing following the END
statement.
LEAVE
If this is within a Block DO
structure,
the block is exited, and the LEAVE
applies
to the nearest loop DO
structure above.
The LEAVE
command applies only to the currently
active DO
loop, you cannot LEAVE
a
higher level nested loop structure this way.