Multiple choice technology mainframe

What is file status 41?

  1. An OPEN statement was attempted for a file in the open mode

  2. A CLOSE statement was attempted for a file not in the open mode

  3. An OPEN statement was attempted on a file previously closed with lock

  4. The execution of a WRITE statement was attempted on a file not open in the I-O, output, or extend mode

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

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.