RTCHECK

The RTCHECK option specifies that extra code is generated to force the ERROR condition to be raised if a null pointer is dereferenced, that is, if the pointer is used to change or obtain the value of a variable.

Read syntax diagramSkip visual syntax diagramRTCHECK( NONULLPTRNULLPTRNULL370 )
NULLPTR
Extra code is generated to force the ERROR condition to be raised if a null pointer, that is, a pointer equal to SYSNULL(), is dereferenced.
NULL370
Extra code is generated to force the ERROR condition to be raised if a pointer equal to the DEFAULT( NULL370 ) value is dereferenced. This value has a hexadecimal value of 'FF000000'x under LP(32) and '00000000_7FFFFBAD'x under LP(64).
NONULLPTR
No extra code is generated to force the ERROR condition to be raised if a null pointer is dereferenced.

The default is RTCHECK(NONULLPTR).

Note: When a null pointer is dereferenced, a compare-and-trap data exception occurs.