COBOL · File status code
What does File Status 02 mean in COBOL?
On a READ or WRITE against an indexed file, the record's key duplicates an existing record's alternate key, or a duplicate condition was otherwise allowed and detected.
On a READ or WRITE against an indexed file, the record's key duplicates an existing record's alternate key, or a duplicate condition was otherwise allowed and detected.
Confirm whether the alternate key involved is defined WITH DUPLICATES. If it should be unique, check the write logic that produced the duplicate value upstream.