Why do we get a file status code 02 in COBOL
I could find the following information on internet but is not clear to me, please help
Indexed files only.
For a READ statement, the key value for the current key is equal to the value of that same key in the next record in the current key of reference.
For a WRITE or REWRITE statement, the record just written created a duplicate key value for at least one alternate record key for which duplicates are allowed.
What is file status code of 02 in COBOL, file-status code in COBOL, file status 02, file-status 02, 02 file status