OPEN -37 – For sequential and relative files, the specified open mode is not supported by this file.
OPEN -38 – For sequential and relative files, the file was previously closed with lock.
OPEN-39– For sequential and relative files, the file’s attributes do not agree with those specified in the program.
OPEN-41- The file is already open.
CLOSE-42-The file is not open.
DELETE, REWRITE-43-The most recent operation was not a READ.
Any -00 – Successful.
WRITE, REWRITE -44-The record size is illegal.
READ-46-There is no valid next record.
READ, START-47-The file was not open in INPUT or I-O mode.
WRITE-48-The file was not open in OUTPUT or EXTEND mode.
DELETE, REWRITE-49- The file was not open in I-O mode.
Any – 90–99 -Defined by vendor.