File Status Codes (or) COBOL Abend Codes

ERROR             REASON
00                    Operation completed successfully
02                    Duplicate Key was found
04                    Invalid fixed length record
05                    The file was created when opened - Successful Completion
07                    CLOSE with REEL or NO REWIND executed for non tape dataset.
10                    End of File encountered
14                    Attempted to READ a relative record outside file boundary
21                    Invalid Key - Sequence error
22                   Invalid Key - Duplicate Key found
23                    Invalid key - No record found
24                    Invalid Key - key outside boundary of file.
30                    Permanent I/O Error
34                    Permanent I/O Error - Record outside file boundary
35                    OPEN, but file not found
37                    OPEN with wrong mode
38                    Tried to OPEN a Locked file
39                    OPEN failed, conflicting file attributes
41                   Tried to OPEN a file that is already open
42                    Tried to CLOSE a file that is not OPEN
43                    Tried to REWRITE without READing a record first
44                    Tried to REWRITE a record of a different length
46                    Tried to READ beyond End-of-file
47                   Tried to READ from a file that was not opened I-O or INPUT
48                    Tried to WRITE to a file that was not opened I-O or OUTPUT
49                    Tried to DELETE or REWRITE to a file that was not opened I-O
91                    Password or authorization failed
92                    Logic Error
93                   Resource was not available (may be allocated to CICS or another user)
94                    Sequential record unavailable or concurrent OPEN error
95                    File Information invalid or incomplete
96                    No DD statement for the file
97                    OPEN successful and file integrity verified
98                    File is Locked - OPEN failed
99                    Record Locked - record access failed.


Mobile App Developers said...

very informative post for me as I am always looking for new content that can help me and my knowledge grow better.

Computers TopOfBlogs Technology Blogs Mainframe interview question and answers,mainframe jobs,cobol,vsam,jcl,cics,db2,rdbms,mvs,tso,ispf,ibm,hcl,tcs,cts,wibro Blog Directory