What is file status 41?
Reveal answer
Fill a bubble to check yourself
What is file status 41?
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
File status 41 indicates that an OPEN statement was attempted for a file that is already in the open mode. This is a logical error because a file cannot be opened again while it's already open - it must be closed first before being reopened.