COBOL Manual for TNS and TNS/R Programs

Procedure Division Verbs
HP COBOL Manual for TNS and TNS/R Programs522555-006
9-44
CONTINUE
CONTINUE
CONTINUE is a no-operation statement.
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.
Example 9-11. 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
...
CONTINUE
VST142.vsd