COBOL file status codes 37, 38 and 39

Read more Analytics blogs
[Read more Analytics blogs]
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.

Related: What is Object storage in Amazon web services

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.

Read more codes

Advertisements

Author: Srini

Experienced software developer. Skills in Development, Coding, Testing and Debugging. Good Data analytic skills (Data Warehousing and BI). Also skills in Mainframe.