COBOL · File status code

File Status 39

What does File Status 39 mean in COBOL?

A fixed attribute of the file, such as record length, block size, or record format, does not match what the program's SELECT and FD entries specify.

File Status 39IBM Enterprise COBOL · Micro Focus · GnuCOBOL

Condition

A fixed attribute of the file, such as record length, block size, or record format, does not match what the program's SELECT and FD entries specify.

Fix

Compare the file's actual DCB/label attributes against the FD RECORD clause. This commonly happens after a file was regenerated with a different layout than the program still expects.

Pending source verification. Not yet checked against official documentation.

Related file status code