OPTIONAL file %1 opened for OUTPUT, I-O, or EXTEND. Statement ignored.
30
Cause . . . . . : A file specified as OPTIONAL by the SELECT statement in the FILE-CONTROL paragraph can be opened only for INPUT if the *NOCRTF compilation option is in effect.
Recovery . . . : Change the option to *CRTF in the CRTCBLMOD or CRTBNDCBL command or use CRTF in the PROCESS statement.