COBOL FILE Status:
00 Successful completion 02 Indexed files only. Possible causes: 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. 04 The length of the record being processed does not conform to the fixed file attributes for that file. 05 The referenced optional file is not present at the time the OPEN statement is executed. 06 Attempted to write to a file that has been opened for input. 07 Sequential files only. For an OPEN or CLOSE statement with the REEL/UNIT phrase the referenced file is a non-reel/unit medium. 08 Attempted to read from a file opened for output. 09 No room in directory or directory does not exist. 10 No next logical record exists. You have reached the end of the file. 12 Attempted to open a file that is already open. 13 File not found. 14 Relative files only. The number of significant digits in the relative record number is larger than the size of the relative key data item described for that file. Too many files open simultaneously (Micro Focus). 15 Too many indexed files open (Micro Focus).
Please refer the further error codes in the IBM site.
Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!