CHECK causes checking errors to be flagged. In COBOL, index, subscript, and reference-modification ranges can cause checking errors.
| CHECK option syntax |
|---|
|
Default is: CHECK(ON).
Abbreviation is: CH
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).