File Status Codes

Some of the numeric status codes returned for file operations are different in IBM DOS/VS COBOL and ACUCOBOL-GT. The following list contains codes returned for each.

Code IBM DOS/VS COBOL ACUCOBOL-GT
00 Success Same
10 EOF Same
21 Invalid key, sequence error Same
22 Duplicate key Same
23 Key not found Same
24 Boundary violation (indexed VSAM Same
30 Permanent error Same
34 Boundary violation (sequential VSAM) Same
91 Password failure Not supported

closest alt.: 3707

92 Logic error Presumably 4x
93 Resource not available Presumably 05/35
94 No current record for seq. Request 43
95 Invalid or incomplete file information. Not supported

closest alt.: 39xx

96 No DLBL card Not supported
Zx User-defined errors Not supported