Branching

You can also alter the normal execution sequence by branching. A branch transfers control from one statement to a labeled branch target statement in the same scoping unit. A branch target statement can be any executable statement except a CASE, ELSE, or ELSE IF statement.

The following statements can be used for branching:

The following input/output specifiers can also be used for branching:

IBM Copyright 2003