Common Error Codes
Common Error Codes: DOS, Unix, Cobol, ISAM.
DOS 0=No error.
DOS 2=File not found.
DOS 3=Path not found.
DOS 4=Too many files open.
DOS 5=Access denied.
DOS 6=Invalid file handle.
DOS 12=Invalid file access code.
DOS 15=Invalid drive number.
DOS 16=Cannot remove current path.
DOS 17=Inter-device rename.
DOS 100=Access past file end.
DOS 101=Disk full.
DOS 102=File not assigned.
DOS 103=File not open.
DOS 104=Not open for input.
DOS 105=Not open for output.
DOS 106=Bad numeric format.
DOS 150=Write protected.
DOS 151=Unknown unit error.
DOS 152=Device not ready.
DOS 154=CRC error in data.
DOS 155=Drive request error.
DOS 156=Seek error.
DOS 157=Unknown disk type.
DOS 158=Sector not found.
DOS 159=Printer out of paper.
DOS 160=Printer off line.
DOS 161=Device read error.
DOS 162=Hardware failure.
DOS 200=Division by zero.
DOS 201=Range check.
DOS 202=Stack overflow.
DOS 203=Heap overflow.
DOS 204=Bad pointer operation.
DOS 205=Numeric overflow.
DOS 206=Numeric underflow.
DOS 207=Bad real number.
DOS 255=User break.

UNIX 1=Not super-user.
UNIX 2=No such file or directory.
UNIX 3=No such process.
UNIX 4=Interrupted system call.
UNIX 5=I/O error.
UNIX 6=No such device or address.
UNIX 7=Arg list too long.
UNIX 8=Exec format error.
UNIX 9=Bad file number.
UNIX 10=No children.
UNIX 11=No more processes.
UNIX 12=Not enough core.
UNIX 13=Permission denied.
UNIX 14=Bad address.
UNIX 15=Block device required.
UNIX 16=Mount device busy.
UNIX 17=File exists.
UNIX 18=Cross-device link.
UNIX 19=No such device.
UNIX 20=Not a directory.
UNIX 21=Is a directory.
UNIX 22=Invalid argument.
UNIX 23=File table overflow.
UNIX 24=Too many open files.
UNIX 25=Not a typewriter.
UNIX 26=Text file busy.
UNIX 27=File too large.
UNIX 28=No space left on device.
UNIX 29=Illegal seek.
UNIX 30=Read only file system.
UNIX 31=Too many links.
UNIX 32=Broken pipe.
UNIX 33=Math arg out of domain of func.
UNIX 34=Math result not representable.
UNIX 35=No message of desired type.
UNIX 36=Identifier removed.
UNIX 37=Channel number out of range.
UNIX 38=Level 2 not synchronized.
UNIX 39=Level 3 halted.
UNIX 40=Level 3 reset.
UNIX 41=Link number out of range.
UNIX 42=Protocol driver not attached.
UNIX 43=No CSI structure available.
UNIX 44=Level 2 halted.
UNIX 45=Deadlock condition.
UNIX 46=No record locks available.
UNIX 50=Invalid exchange.
UNIX 51=Invalid request descriptor.
UNIX 52=Exchange full.
UNIX 53=No anode.
UNIX 54=Invalid request code.
UNIX 55=Invalid slot.
UNIX 56=File locking deadlock error.
UNIX 57=Bad font file fmt.
UNIX 60=Device not a stream.
UNIX 61=No data (for no delay io).
UNIX 62=Timer expired.
UNIX 63=Out of streams resources.
UNIX 64=Machine is not on the network.
UNIX 65=Package not installed.
UNIX 66=The object is remote.
UNIX 67=The link has been severed.
UNIX 68=Advertise error.
UNIX 69=srmount error.
UNIX 70=Communication error on send.
UNIX 71=Protocol error.
UNIX 74=Multihop attempted.
UNIX 75=Inode is remote (not really error).
UNIX 76=Cross mount point (not really error).
UNIX 77=Trying to read unreadable message.
UNIX 78=E name too long.
UNIX 80=Given log. name not unique.
UNIX 81=F.D. invalid for this operation.
UNIX 82=Remote address changed.
UNIX 83=Can't access a needed shared lib.
UNIX 84=Accessing a corrupted shared lib.
UNIX 85=.lib section in a.out corrupted.
UNIX 86=Attempting to link in too many libs.
UNIX 87=Attempting to exec a shared library.
UNIX 89=E no sys.
UNIX 90=Operation would block.
UNIX 91=Operation now in progress.
UNIX 92=Operation already in progress.
UNIX 93=Socket operation on non-socket.
UNIX 94=Destination address required.
UNIX 95=Message too long.
UNIX 96=Protocol wrong type for socket.
UNIX 97=Protocol not supported.
UNIX 98=Socket type not supported.
UNIX 99=Operation not supported on socket.
UNIX 100=Protocol family not supported.
UNIX 101=Addr fmly not supported by proto fmly.
UNIX 102=Address already in use.
UNIX 103=Can't assign requested address.
UNIX 104=Network is down.
UNIX 105=Network is unreachable.
UNIX 106=Network dropped connection on reset.
UNIX 107=Software caused connection abort.
UNIX 108=Connection reset by peer.
UNIX 110=Socket is already connected.
UNIX 111=Socket is not connected.
UNIX 112=Can't send after socket shutdown.
UNIX 113=Too many references: can't splice.
UNIX 114=Connection timed out.
UNIX 115=Connection refused.
UNIX 116=Host is down.
UNIX 117=No route to host.
UNIX 118=Protocol not available.
UNIX 135=Structure needs cleaning.
UNIX 137=Not a name file.
UNIX 138=Not available.
UNIX 139=Is a name file.
UNIX 140=Remote I/O error.
UNIX 141=Reserved for future.
UNIX 142=Error 142.
UNIX 145=E not empty.
UNIX 150=Too many symbolic links in path.

COBOL 02=Allowed duplicate key added.
COBOL 05=Optional file missing.
COBOL 07=Close reel on non-tape device.
COBOL 0M=Openned with unsupported option.
COBOL 09=No memory for sort or cannot seek prev.
COBOL 10=End of file.
COBOL 14=Sequential access to relative file.
COBOL 21=Primary key out of sequence.
COBOL 22=Duplicate key.
COBOL 23=Record not found.
COBOL 24=Insufficient disk space for write.
COBOL 30=Permission denied or max files too low.
COBOL 34=Disk full for sequential or sort file.
COBOL 35=File not found.
COBOL 37=Invalid dev for func or no permission.
COBOL 38=File closed with lock.
COBOL 39=Existing file conflicts with Cobol FD.
COBOL 41=File is already open.
COBOL 42=File is already closed.
COBOL 43=No data in sequential file.
COBOL 44=Rewrite record size changed since read.
COBOL 46=No current record for read next.
COBOL 47=File not open for specified operation.
COBOL 48=File write error or not open for write.
COBOL 49=File not open for rewrite or delete.
COBOL 93=File locked by another user.
COBOL 94=Bad linage value or too many files open.
COBOL 98=Index file corrupt.
COBOL 99=Record locked by another user.
COBOL 9A=Inadequate memory for requested operation.
COBOL 9B=Requested operation not supported.
COBOL 9C=No entries left in lock table.
COBOL 9D=Internal error on host system.

ISAM 100=Duplicate record.
ISAM 101=File not open.
ISAM 102=Invalid argument.
ISAM 103=Invalid key description.
ISAM 104=Out of file descriptors.
ISAM 105=Invalid isam file format.
ISAM 106=Exclusive lock required.
ISAM 107=Record claimed by another.
ISAM 108=Key already exists.
ISAM 109=Primary key may not be used.
ISAM 110=Beginning or end of file reached.
ISAM 111=No match was found.
ISAM 112=There is no "current" established.
ISAM 113=Entire file locked by another.
ISAM 114=File name too long.
ISAM 115=Cannot create lock file.
ISAM 116=Memory allocation request failed.
ISAM 117=Bad custom collating.
ISAM 129=Too many users.
ISAM 140=Unable to reopen virtual file.
ISAM 201=Bug msg - bad request.
ISAM 202=Bug msg - too far.
ISAM 203=Bug msg - no info.
ISAM 204=Bug msg - not set.
ISAM 205=Bug msg - bad info.
ISAM 250=Bug msg - bug check.