EXIT statement.

The EXIT statement provides a common end point for a series of procedures.

The EXIT PROGRAM statement marks the logical end of a called program.

The EXIT PERFORM statement provides a means of exiting an inline PERFORM (with or without returning to any specified test).

The EXIT PARAGRAPH and EXIT SECTION statements provide a means of exiting a structured procedure without executing any of the following statements within the procedure.

Format 1.

          EXIT

Format 2.

          EXIT PARAGRAPH

Format 3.

          EXIT SECTION

Format 4.

          EXIT PROGRAM

Format 5.

          EXIT PERFORM

Format 6.

          EXIT PERFORM CYCLE