COBOL Manual for TNS/E Programs (H06.08+, J06.03+)

Example 82 CONTINUE Statement
IF SALARIED
IF ANNUAL-SAL > 50000
IF BELOW-QUOTA
CONTINUE
ELSE
PERFORM ADD-BONUS-TO-OVERPAID-SALESPERSON
END-IF
ELSE
IF BELOW-QUOTA
CONTINUE
ELSE
PERFORM ADD-BONUS-TO-FLUNKY
END-IF
ELSE
IF OVERTIME
...
Usage Considerations:
Effect of CONTINUE
A CONTINUE statement has no effect on the execution of the program.
Where CONTINUE Can Appear
The CONTINUE statement can appear anywhere a conditional statement or an imperative
statement can appear. The normal use is as an unused branch of an IF statement.
COPY
COPY summons source text from a file set up as a COPY library. You can use COPY in any division.
For more information, see COPY Statement (page 499).
DELETE
DELETE removes a record from a relative or indexed file that is open in I-O mode.
file-name
is the name of a relative or indexed file that is open in I-O mode.
imperative-stmt-1
is an imperative statement to be executed when the invalid-key condition arises during the
delete operation. It is required for a file whose access mode is random or dynamic (but
310 Procedure Division Verbs