Rational Developer for System z
COBOL for Windows, Version 7.5, Programming Guide


CHECK

CHECK causes checking errors to be flagged. In COBOL, index, subscript, and reference-modification ranges can cause checking errors.

CHECK option syntax
Read syntax diagramSkip visual syntax diagram          .-ON--.    
>>-CHECK(-+-OFF-+-)--------------------------------------------><
 

Default is: CHECK(ON).

Abbreviation is: CH

ON
Specifies that runtime checking is performed.
OFF
Specifies that runtime checking is not performed.

Usage note: CHECK(ON) has no effect if NOSSRANGE was in effect during compilation.

Performance consideration: If you compiled a COBOL program with SSRANGE, and you are not testing or debugging an application, performance improves if you specify CHECK(OFF).


Terms of use | Feedback

Copyright IBM Corporation 1996, 2008.
This information center is powered by Eclipse technology. (http://www.eclipse.org)