Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
CHECK (COBOL only) z/OS Language Environment Customization SA38-0685-00 |
|
This option applies to Enterprise COBOL V4R2 and earlier releases. Starting with Enterprise COBOL V5R1, if the compile time option SSRANGE is specified, range checks are generated by the compiler and the checks are always executed at runtime. CHECK flags checking errors within an application. In COBOL, index, subscript, and reference modification ranges are checking errors. COBOL is the only language that uses the CHECK option.
Syntax .-ON--. .-OVR----. >>-CHECK--=--(--(--+-OFF-+--)--,--+-NONOVR-+--)----------------><
Usage notesCHECK(ON) has no effect if NOSSRANGE was in effect at compile time. Performance considerationsIf your COBOL program was compiled with SSRANGE, and you are not testing or debugging an application, performance improves when you specify CHECK(OFF). |
Copyright IBM Corporation 1990, 2014
|