COBOL Manual for TNS and TNS/R Programs
Program Compilation
HP COBOL Manual for TNS and TNS/R Programs—522555-006
11-56
CANCEL and NOCANCEL
CANCEL and NOCANCEL
CANCEL
generates code that initializes the program the first time the program is called after
being canceled by a CANCEL statement.
NOCANCEL
prevents the generation of code that initializes the program the first time the
program is called after being canceled by a CANCEL statement.
If a program is not an initial program and is never referenced by a CANCEL statement,
specify NOCANCEL to reduce the size of the program’s object code. Do not specify
NOCANCEL for a program that is referenced by a CANCEL statement. If you do, the
program might not execute in the manner expected.
CHECK
CHECK controls the level of run-time checking that a program performs.
check-level
is an integer in the range 0 through 15. For the meanings of the different values of
check-level, see Table 11-19.
Default: CANCEL
Placement: Anywhere
Scope: Applies to the program that contains it. CANCEL and NOCANCEL do not
apply to initial programs, which are initialized every time they are called.
Dependencies: None
CANCEL
NOCANCEL
VST383.vsd
check-levelCHECK
VST268.vsd