z/OS Language Environment Customization
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


CHECK (COBOL only)

z/OS Language Environment Customization
SA38-0685-00

Start of change 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. End of change

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.

Non-CICS default
CHECK=((ON),OVR)
CICS® default
CHECK=((ON),OVR)
Read syntax diagramSkip visual syntax diagram
Syntax

                   .-ON--.        .-OVR----.      
>>-CHECK--=--(--(--+-OFF-+--)--,--+-NONOVR-+--)----------------><

ON
Specifies that runtime checking is performed.
OFF
Specifies that runtime checking is not performed.
OVR
Specifies that the option can be overridden.
NONOVR
Specifies that the option cannot be overridden.

Usage notes

CHECK(ON) has no effect if NOSSRANGE was in effect at compile time.

Performance considerations

If your COBOL program was compiled with SSRANGE, and you are not testing or debugging an application, performance improves when you specify CHECK(OFF).

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014