-
An OPEN statement was attempted for a file in the open mode
-
A CLOSE statement was attempted for a file not in the open mode
-
An OPEN statement was attempted on a file previously closed with lock
-
The execution of a WRITE statement was attempted on a file not open in the I-O, output, or extend mode