COBOL · File status code
What does File Status 10 mean in COBOL?
A sequential READ found no next logical record. This is the normal way a program detects it has reached the end of a file.
A sequential READ found no next logical record. This is the normal way a program detects it has reached the end of a file.
No fix needed if your AT END or NOT AT END logic is written correctly. If the program is ending earlier than expected, check for an accidental extra READ, or a file that is genuinely shorter than expected upstream.