What is file status code of 02 in COBOL

1 post / 0 new
Anonymous (not verified)
What is file status code of 02 in COBOL

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

02
 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

Sponsored Listing

Click the +1 button  below to share it with your friends and colleagues

 

Share this if you liked it!

 

Disclaimer

Navigation