What is file status code of 02 in COBOL

Wed, 12/28/2011 – 10:36

#1

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

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

Share this if you liked it!

Disclaimer