COBOL Manual for TNS and TNS/R Programs
Procedure Division Verbs
HP COBOL Manual for TNS and TNS/R Programs—522555-006
9-77
EXIT
EXIT PARAGRAPH Must be contained in a
paragraph.
Transfers control to an implicit
CONTINUE statement
immediately preceding the next
procedure declaration. If there
is no next procedure
declaration, it transfers control
to an implicit CONTINUE
statement at the end of the
program.
EXIT SECTION Must be contained in a
section.
Transfers control to an implicit
CONTINUE statement
immediately preceding the next
section declaration. If there is
no next section declaration, it
transfers control to an implicit
CONTINUE statement at the
end of the program.
EXIT PERFORM Must be contained in an in-
line PERFORM statement.
Immediately transfers control to
an implicit CONTINUE
statement immediately
following the END-PERFORM
statement associated with the
in-line PERFORM statement
(see Example 9-23).
EXIT PERFORM CYCLE Must be contained in an in-
line PERFORM statement.
Immediately transfers control to
an implicit CONTINUE
statement immediately
preceding the END-PERFORM
statement associated with the
in-line PERFORM statement
(see Example 9-24
).
Table 9-2. EXIT Statement Restrictions and Effects (page 2 of 2)
Statement Restrictions Effect