COBOL · File status code

File Status 37

What does File Status 37 mean in COBOL?

An OPEN was attempted in a mode (INPUT, OUTPUT, I-O, EXTEND) that the file's underlying organization or device does not support.

File Status 37IBM Enterprise COBOL · Micro Focus · GnuCOBOL

Condition

An OPEN was attempted in a mode (INPUT, OUTPUT, I-O, EXTEND) that the file's underlying organization or device does not support.

Fix

Check the file's actual organization against the mode requested, and confirm the device or dataset type actually supports that mode.

Pending source verification. Not yet checked against official documentation.

Related file status code