Makes the Compiler treat all files opened for I-O or EXTEND as optional.
>>-.---.-.----.--OPTIONAL-FILE------------->< +-/-+ +-NO-+
None
Default: | OPTIONAL-FILE (DIALECT DIALECT |
Phase: | Syntax check |
$SET: | Initial |
Set to OPTIONAL-FILE immediately by NORM. Set to NOOPTIONAL-FILE immediately by RM or RM"ANSI".
Under ANSI'85 Standard COBOL, a file is treated as optional only if it has the OPTIONAL phrase in its SELECT statement. For compatibility with the ANSI'85 Standard you must specify the NOOPTIONAL-FILE directive.