COBOL · File status code

File Status 24

What does File Status 24 mean in COBOL?

A WRITE attempted to store a record beyond the externally defined boundaries of an indexed or relative file, or a sequential file's disk space was exceeded.

File Status 24IBM Enterprise COBOL · Micro Focus · GnuCOBOL

Condition

A WRITE attempted to store a record beyond the externally defined boundaries of an indexed or relative file, or a sequential file's disk space was exceeded.

Fix

Check the file's allocated space against the volume of records being written, and confirm relative-key values stay within the file's defined range.

Pending source verification. Not yet checked against official documentation.

Related file status code