COBOL · File status code

File Status 14

What does File Status 14 mean in COBOL?

A relative file's record number exceeds the number of digits defined for the relative key data item.

File Status 14IBM Enterprise COBOL · Micro Focus · GnuCOBOL

Condition

A relative file's record number exceeds the number of digits defined for the relative key data item.

Fix

Check the PICTURE clause of the relative key field against the actual size of the file. A field that is too small will silently truncate large record numbers.

Pending source verification. Not yet checked against official documentation.

Related file status code