This directive controls the checking and handling of runtime errors.
Format
>>IMP RUNTIME-ERRORS FUNCTION-DEFAULT-VALUE {ON | OFF | DEFAULT}
General rules
The directive applies in the compilation phase.
If the directive is specified in a statement, it applies only for the next clause or statement.The same RUNTIME-ERRORS specification applies for WHEN specifications in EVALUATE and SEARCH statements as for the EVALUATE or SEARCH statement.The directive may be used anywhere in a compilation unit.
The directive is rejected if the compiler option CHECK-FUNCTION-ARGUMENTS=YES was specified when the compiler was called.
The ON specification causes the value YES to be assumed for the compiler option SET-FUNCTION-ERROR-DEFAULT.
The OFF specification causes the value NO to be assumed for the compiler option SET-FUNCTION-ERROR-DEFAULT.
The DEFAULT specification causes the value specified when the compiler was called to be assumed for the compiler option SET-FUNCTION-ERROR-DEFAULT.