Extended Range

A DO construct has an extended range if both of the following are true:

The range of the construct is extended to include all executable statements between the destination statement of the first transfer and the statement that returns control to the construct.

The following rules apply to a DO construct with extended range:

The following figure shows valid and invalid extended range control transfers:

Control Transfers and Extended Range