COBOL · File status code

File Status 46

What does File Status 46 mean in COBOL?

A sequential READ was attempted when no valid next record has been established, typically after a prior unsuccessful READ or START.

File Status 46IBM Enterprise COBOL · Micro Focus · GnuCOBOL

Condition

A sequential READ was attempted when no valid next record has been established, typically after a prior unsuccessful READ or START.

Fix

Check that the previous READ or START actually succeeded (status 00) before issuing another sequential READ.

Pending source verification. Not yet checked against official documentation.

Related file status code