Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
CHECK (COBOL only) z/OS Language Environment Programming Reference SA38-0683-00 |
|
If your COBOL application was compiled with the SSRANGE compile option, specifying the CHECK(ON) runtime option enables range checking of each index, subscript, and reference modification. The default value for non-CICS applications is CHECK(ON). The default value for CICS® applications is CHECK(ON). Syntax .-ON--. >>-CHeck--(--+-----+--)---------------------------------------->< '-OFF-'
Usage notesCHECK(ON) has no effect if the NOSSRANGE COBOL compile option was specified. Performance considerationIf your COBOL program was compiled with the SSRANGE compile option, and you are not testing or debugging an application, performance improves when you specify CHECK(OFF). For COBOL 4.2 and earlier you can disable the SSRANGE code with CHECK(OFF). For COBOL 5.1 and later, you cannot disable it. |
Copyright IBM Corporation 1990, 2014
|