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

CHECK
CHECK 1Default:
AnywherePlacement:
In each separately compiled program, the last CHECK in the program unit determines
the check level for the code block being produced.
Scope:
NoneDependencies:
CommentsWhat is Checkedcheck-level
CHECK 0 results in the fastest execution time.Nothing0
CHECK 1 might have a different meaning in future
versions of HP COBOL for HP NonStop systems
Nothing1 (default)
(“HP COBOL”). For the fastest execution (and no
subscript checking) in current and future versions of
HP COBOL, specify CHECK 0.
Validity of subscripts and indexes2
Validity of subscripts, indexes, and
reference modifiers
3
Specifies the maximum level of checking that HP COBOL
currently provides.
Validity of subscripts, indexes,
reference modifiers, and certain
data conversions.
4
5 - 15 might have different meanings in future versions
of HP COBOL. For the maximum level of checking that
Validity of subscripts, indexes,
reference modifiers, and certain
data conversions.
5-15
HP COBOL currently provides, specify CHECK 4. For
maximal checking, specify CHECK 15 (which could
increase the program’s run-time overhead in future
versions of HP COBOL if additional checking levels are
implemented).
CODECOV
No code coverage instrumentation is included in the generated object fileDefault:
In the command linePlacement:
Applies to the compilation unitScope:
NoneDependencies:
CHECK 981