Extended file status codes are of the form: 9/nnn

where nnn is one of the following values:


001     Insufficient buffer space. Could also indicate an out of memory situation.

002     File not open when access tried.

003     Serial mode error.

004     Illegal file name.

005     Illegal device specification.

006     Attempt to write to a file opened for input.

007     Disk space exhausted.

008     Attempt to input from a file opened for output.

009     No room in directory (also, directory does not exist).

010     File name not supplied.

012     Attempt to open a file which is already open.

013     File not found.

014     Too many files open simultaneously.

015     Too many indexed files open.

016     Too many device files open.

017     Record error: probably zero length.

018     Read part record error: EOF before EOR or file open in wrong mode.

019     Rewrite error: open mode or access mode wrong.

020     Device or resource busy.

021     File is a directory.

022     Illegal or impossible access mode for OPEN.

023     Illegal or impossible access mode for CLOSE.

024     Disk I/O error.

025     Operating system data error.

026     Block I/O error.

Extended file status codes are of the form: 9/nnn

where nnn is one of the following values: (continued)


027     Device not available.

028     No space on device.

029     Attempt to delete open file.

030     File system is read only.

031     Not owner of file.

032     Too many indexed files, or no such process.

033     Physical I/O error.

034     Incorrect mode or file descriptor.

035     Attempt to access a file with incorrect permission.

036     File already exists.

037     File access denied.

038     Disk not compatible.

039     File not compatible.

040     Language initialization not set up correctly.

041     Corrupt index file.

042     Attempt to write on broken pipe.

043     File information missing for indexed file.

045     Attempt to open an NLS file using an incompatible program.

047     Indexed structure overflow. (Could indicate that you have reached the maximum number of duplicate keys.)

065     File locked.

066     Attempt to add duplicate record key to indexed file.

067     Indexed file not open.

068     Record locked.

069     Illegal argument to ISAM module.

Extended file status codes are of the form: 9/nnn

where nnn is one of the following values: (continued)


070     Too many indexed files open.

071     Bad indexed file format.

072     End of indexed file.

073     No record found in indexed file.

074     No current record in indexed file.

075     Indexed data file name too long.

077     Internal ISAM module failure.

078     Illegal key description in indexed file.

081     Key already exists in indexed file.

100     Invalid file operation.

101     Illegal operation on an indexed file.

102     Sequential file with non-integral number of records.

104     Null file name used in a file operation.

105     Memory allocation error.

125     All locks/ current transactions canceled due to exceeding time limit

129     Attempt to access record zero of relative file.

135     File must not exist.

138     File closed with lock - cannot be opened.

139     Record length or key data inconsistency.

141     File already open - cannot be opened.

142     File not open - cannot be closed.

143     REWRITE/DELETE in sequential mode not preceded by successful READ.

146     No current record defined for sequential read.

147     Wrong open mode or access mode for READ/START.

Extended file status codes are of the form: 9/nnn

where nnn is one of the following values: (continued)


148     Wrong open mode or access mode for WRITE.

149     Wrong open mode or access mode for REWRITE/ DELETE.

150     Program abandoned at user request.

151     Random read on sequential file.

152     REWRITE on file not opened I-O.

158     Attempt to REWRITE to a line-sequential file.

159     Malformed line sequential-file.

161     File header not found.

173     Called program not found.

180     End-of-file marker error.

182     Console input or console output open in wrong direction.

183     Attempt to open line sequential file for I-O.

188     File name too large.

193     Error in variable length count.

194     File size too large.

195     DELETE/REWRITE not preceded by a READ.

196     Record number too large in relative or indexed file.

199     Operating System error code lies outside expected range.

210     File is closed with lock.

213     Too many locks.

218     Malformed MULTIPLE REEL/UNIT file.

219     Operating system shared file limit exceeded.