Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

IMP RUNTIME-ERRORS

This directive controls the checking and handling of runtime errors.

Format


>>IMP RUNTIME-ERRORS FUNCTION-DEFAULT-VALUE {ON | OFF | DEFAULT}


General rules

  1. 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.
  2. The directive may be used anywhere in a compilation unit.

  3. The directive is rejected if the compiler option CHECK-FUNCTION-ARGUMENTS=YES was specified when the compiler was called.

  4. The ON specification causes the value YES to be assumed for the compiler option SET-FUNCTION-ERROR-DEFAULT.

  5. The OFF specification causes the value NO to be assumed for the compiler option SET-FUNCTION-ERROR-DEFAULT.

  6. The DEFAULT specification causes the value specified when the compiler was called to be assumed for the compiler option SET-FUNCTION-ERROR-DEFAULT.