1. LEAVE Statement

The LEAVE statement ends a running do-group. This statement must be used within a do-group.

figure syntax leave
LEAVE Statement
Component Description

label-constant

Must be the label of a DO statement. If omitted, the most recent do-group with a LEAVE statement will be terminated.