COBOL · File status code

File Status 47

What does File Status 47 mean in COBOL?

A READ or START was issued against a file that is not currently open in INPUT or I-O mode.

File Status 47IBM Enterprise COBOL · Micro Focus · GnuCOBOL

Condition

A READ or START was issued against a file that is not currently open in INPUT or I-O mode.

Fix

Confirm the OPEN mode. This usually means the OPEN either failed silently upstream or was never reached.

Pending source verification. Not yet checked against official documentation.

Related file status code