COBOL · File status code
What does File Status 23 mean in COBOL?
A READ, REWRITE, DELETE, or START by key did not find a record matching the key value supplied, in an indexed or relative file.
A READ, REWRITE, DELETE, or START by key did not find a record matching the key value supplied, in an indexed or relative file.
Confirm the exact key value being searched for and that the record was actually written under that key. Also check for a prior unhandled INVALID KEY on the WRITE that should have created it.