The table below lists the run-time system error codes (100 –170). The UNIX system error codes (001 - 099) correspond exactly to the UNIX system error codes and are listed in your UNIX documentation.
The number in the error message is the value from the errno.h file on Windows and typically in the errno-base.h file on most Linux systems. See the errno.h and errno-base.h topic for more information.
Code | Description |
---|---|
100 | Duplicate record |
101 | File not open |
102 | Illegal argument |
103 | Illegal key descriptor |
104 | Too many files open |
105 | Bad isam file format |
106 | Non-exclusive access |
107 | Record locked |
108 | Key already exists |
109 | Is primary key |
110 | End of file reached |
111 | No record found |
112 | No current record |
113 | File locked |
114 | File name too long |
115 | Can't create lock file |
116 | Duplicate record (warning) |
117 | Current record pointer undefined |
118 | Can't allocate memory |
119 | Bad custom collating |
120 | Invalid operation |
121 | Boundary violation on write |
122 | Boundary violation on sequential file |
123 | Not available, file locking or closed w/ lock |
124 | Inconsistent attributes |
125 | Open -APPEND on KEYED file |
126 | Open -DAM on non-IDIRECT file |
127 | Open -SAM on KEYED file |
128 | File not open or is open for output only |
129 | File not open or is open for input only |
130 | Open on file not yet closed |
131 | KEY specified on sequential file |
132 | KEY specified on stream file |
133 | No KEY specified on KEYED file |
134 | Not a PRINT file |
135 | Not a STREAM file |
136 | CALL dataname name not found |
138 | BI format error (36) |
139 | C format error (32) |
140 | E format error (34) |
141 | I/O stack overflow |
142 | Conversion error |
143 | LIST input item too long |
144 | Implicit open failed |
145 | EOF found while parsing edited input |
146 | End of string on GET/PUT string |
147 | Invalid format item for GET/PUT string |
148 | Invalid format for GET |
149 | Cannot initialize RPG screens |
150 | File not open for input |
151 | REWRITE on input file |
152 | File not open on non-optional "sequential" |
153 | File open on optional |
154 | Sequential error on REW or DELE COBOL85 |
155 | Sequential error no next record COBOL85 |
156 | Bad record size on current record |
157 | Cannot read log record |
158 | Bad log record |
159 | Cannot open log file |
160 | Cannot write log file |
161 | No transaction |
162 | No shared memory |
163 | No begin work yet |
164 | Can't use nfs |
165 | Audit trail exists |
166 | F format error |
167 | Record number too big for data item |
168 | Open of wrong file type within transaction |
169 | CLOSE REEL on non reel file |
170 | No READ or WRITE before DELETE of record |
171 | Return from subroutine specified a value |
172 | Return from function did not specify a value |
173 | Bad definition for creating a VSAM file |
174 | No -defext used |
175 | SET requires INDEXED or VSAM files |
176 | Missing FROM on REWRITE and not VSAM |
177 | -ebm requires EBM_ddname usage |
178 | Unknown file-type specifier in EBM_ddname |
179 | Undefined env var reference within EBM_ddname |
180 | Invalid record-length value in EBM_ddname |
181 | Unknown record-format in EBM_ddname |
182 | File system is out of free space |
183 | Call to entry variable with invalid parent frame |