Cobol error codes
Cobol error codes
00 successful
02 duplicate key found in alternate key
10 end of file
23 record not found
35 file not found
93 file already under exculsive control (or) resource NA (or) insufficient
storage no more extents
99 rec locked by other user access failed
Lrecl missmatch
04 length of the record read differs from variables defined in pgm
39 open error, fixed file attributes mismatch
44 write/ re write operation , but rec size mismatch
Write/read/rewrite/delete issues
13 no next logical record / trying to read empty file
18 Read error, end of record
22 duplicate key while writing or rewriting
43 rewrite or delete operation on record before reading
46 sequesntional read was performed bur previous read was unsuccessful