COBRT022 Illegal or impossible access mode for OPEN (Recoverable)
The mode in which you are trying to open a file violates the General Rule
of COBOL for that type of file; for example you might have opened a line sequential
file in the I-O mode.
Resolution:
Open the file with a mode that is compatible with that type of file.