RM-FILE-ERRORS

Generates run-time system errors for certain file conditions, even when a FILE STATUS clause is present; this is to emulate RM/COBOL behavior.

Syntax:

>>-.---.---.-RM-FILE-ERRORS-.-----------.--.---><
   +-/-+   |                +-"integer"-+  |
           +-NORM-FILE-ERRORS--------------+

Parameters:

integer
Must be one of:
1
The run-time system errors and aborts for file status' greater than 2, even when a FILE STATUS is specified.
Note: Declaratives continue to take precedence.
2
As 1, but additionally includes INVALID KEY conditions.
Note: An INVALID KEY clause or declaratives continue to take precedence.

Properties:

Default: NORM-FILE-ERRORS
Phase: Syntax check
$SET: Initial

Dependencies:

Set to RM-FILE-ERRORS"1" immediately by DIALECT"RM".