%LEAVE Statement
When contained in or specifying a simple DO-group, the %LEAVE
statement terminates the group. When contained in or specifying
an iterative DO-group, the %LEAVE statement terminates
all iterations of the group, including the current iteration. The
flow of control goes to the same point it would normally go to if
the do-group had terminated by reaching its END statement.
 >>-%--+------------+--LEAVE--+-------+--;----------------------><
| .--------. | '-label-'
| V | |
'---label:-+-'
|
- label-constant
- Must be a label of a containing DO-group. The DO-group that
is left is the DO-group that has the specified label. If label-constant is
omitted, the DO-group that is left is the group that contains the
LEAVE statement.
|
This information center is powered by Eclipse technology. (http://www.eclipse.org)