ERRNO Values

This section gives an overview on all ERRNO values that are returned by the TCP/IP LE/C, the EZASMI/EZASOKET socket interfaces, or both.

  • Table 1 shows the ERRNO values sorted by their decimal value.
  • Table 2 shows the ERRNO values that apply only to EZASMI/EZASOKET socket interfaces sorted by their decimal value.
  • Table 3 shows the values sorted by ERRNO names.
Table 1. ERRNO Values Sorted by Value
ERRNO ERRNO Value from LE/C or EZASMI/EZASOKET Description
EDOM 1 Domain error.
ERANGE 2 Range error.
ELOAD 83 Load error.
EACCES 111 Permission denied.
EAGAIN 112 Resource temporarily unavailable.
EBADF 113 Bad socket descriptor.
EBUSY 114 Resource busy.
ECHILD 115 No child processes.
EDEADLK 116 Resource deadlock avoided.
EEXIST 117 File exists.
EFAULT 118 Bad address or buffer address not accessible.
EFBIG 119 File too large.
EINTR 120 Interrupted function call.
EINVAL 121 Invalid parameter.
EIO 122 Socket closed.
EISDIR 123 Is a directory.
EMFILE 124 Too many open files.
EMLINK 125 Too many links.
ENAMETOOLONG 126 File name too long.
ENFILE 127 Too many open sockets.
ENODEV 128 No such device.
ENOENT 129 No such socket.
ENOEXEC 130 Exec format error.
ENOLCK 131 No locks available.
ENOMEM 132 Not enough memory to fulfill the request.
ENOSPC 133 No space left on device.
ENOSYS 134 Function not implemented.
ENOTDIR 135 Not a directory.
ENOTEMPTY 136 Directory not empty.
ENOTTY 137 Inappropriate I/O control operation.
ENXIO 138 No such device or address.
EPERM 139 Operation not permitted.
EPIPE 140 Broken pipe.
EROFS 141 Read-only file system.
ESPIPE 142 Invalid seek.
ESRCH 143 No such process.
EXDEV 144 A link to a file on another file system was attempted.
E2BIG 145 Argument list too long.
ELOOP 146 A loop exists in symbolic links encountered during resolution of the path argument.
EILSEQ 147 Illegal byte sequence.
ENODATA 148 No message available.
EOVERFLOW 149 Value too large to be stored in data type.
EMVSNOTUP 150 OpenEdition is not active.
EMVSDYNALC 151 Dynamic allocation error.
EMVSCVAF 152 Catalog Volume Access Facility error.
EMVSCATLG 153 Catalog obtain error.
EMVSINITIAL 156 Process initialization error.
EMVSERR 157 An internal error has occurred.
EMVSPARM 158 Bad parameters.
EMVSPFSFILE 159 Permanent file error.
EMVSBADCHAR 160 Bad character in environment variable name.
EMVSPFSPERM 162 System error.
EMVSSAFEXTRERR 163 SAF/RACF extract error.
EMVSSAF2ERR 164 SAF/RACF error.
EMVSTODNOTSET 165 System TOD clock not set.
EMVSPATHOPTS 166 Access mode argument conflicts with PATHOPTS parameter.
EMVSNORTL 167 Access to the OpenEdition version of the C RTL is denied.
EMVSEXPIRE 168 Password has expired.
EMVSPASSWORD 169 Password is invalid.
EVSE 183 Not supported under VSE.
ELENOFORK 200 Language Environment® member language cannot tolerate a fork().
ELEMSGERR 201 Message file was not found in the hierarchical file system.
EIBMBADCALL 1000 A bad socket call constant in IUCV header.
EIBMBADPARM 1001 Other IUCV header error.
EIBMSOCKOUTOFRANGE 1002 Assigned socket number out of range.
EIBMSOCKINUSE 1003 Assigned socket number already in use.
EIBMIUCVERR 1004 Request failed due to IUCV error.
EOFFLOADboxERROR 1005 Offload box error.
EOFFLOADboxRESTART 1006 Offload box restarted.
EOFFLOADboxDOWN 1007 Offload box down.
EIBMCONFLICT 1008 Conflicting call outstanding on socket.
EIBMCANCELLED 1009 Request cancelled.
ENOTBLK 1100 Block device required.
ETXTBSY 1101 Text file busy.
EWOULDBLOCK 1102 Request would block. An operation on a socket marked as non blocking has encountered a situation such as no data available that otherwise would have caused the function to suspend execution.
EINPROGRESS 1103 Socket connection in progress. O_NONBLOCK is set for the socket descriptor and the connection cannot be immediately established.
EALREADY 1104 Connection request already in progress. A connection request is already in progress for the specified socket.
ENOTSOCK 1105 Descriptor does not refer to a socket.
EDESTADDRREQ 1106 Destination address required. No bind address was specified.
EMSGSIZE 1107 Message too long.
EPROTOTYPE 1108 The socket type is not supported by the protocol.
ENOPROTOOPT 1109 No Option recognized. The option specified to setsockopt() is not supported.
EPROTONOSUPPORT 1110 The protocol is not supported by the address family, or the protocol is not supported by the implementation.
ESOCKTNOSUPPORT 1111 Socket type not supported.
EOPNOTSUPP 1112 Socket call not supported.
EPFNOSUPPORT 1113 Protocol family not supported.
EAFNOSUPPORT 1114 Address family not supported (other than AF_INET). The implementation does not support the specified address family, or the specified address is not a valid address for the address family of the specified socket.
EADDRINUSE 1115 Specified address or port is already in use.
EADDRNOTAVAIL 1116 Address not available.
ENETDOWN 1117 The local interface to use or reach the destination is down.
ENETUNREACH 1118 Network unreachable.
ENETRESET 1119 Network dropped connection on reset.
ECONNABORTED 1120 Connection aborted.
ECONNRESET 1121 Connection was forcibly closed/reset by the peer.
ENOBUFS 1122 No buffers available. Insufficient buffer resources were available in the system to perform the socket operation.
EISCONN 1123 Specified socket is already connected.
ENOTCONN 1124 Socket is not connected.
ESHUTDOWN 1125 Cannot send after socket shutdown.
ETOMANYREFS 1126 Too many references, cannot splice.
ETIMEDOUT 1127 Connection request timed out. The connection to a remote machine has timed out. If the connection timed out during execution of the function that reported this error (as opposed to timing out prior to the function being called), it is unspecified whether the function has completed some or all of the behavior associated with a successful completion of the function.
ECONNREFUSED 1128 Connection refused.
EHOSTDOWN 1129 Host is down.
EHOSTUNREACH 1130 Destination host cannot be reached.
EPROCLIM 1131 Too many processes.
EUSERS 1132 Too many users.
EDQUOT 1133 Reserved.
ESTALE 1134 The file handle has expired.
EREMOTE 1135 Too many levels of remote in path.
ENOSTR 1136 Not a stream.
ETIME 1137 Stream ioctl() timeout.
ENOSR 1138 No stream resource.
ENOMSG 1139 No message of desired type.
EBADMSG 1140 Bad message.
EIDRM 1141 Identifier removed.
ENONET 1142 Machine is not on the network.
ERREMOTE 1143 Object is remote.
ENOLINK 1144 The link has been cut.
EADV 1145 advertise error.
ESRMNT 1146 srmount error.
ECOMM 1147 Communication error on send.
EPROTO 1148 Protocol error.
EMULTIHOP 1149 Multihop is not allowed.
EDOTDOT 1150 Cross mount point (not an error).
EREMCHG 1151 Remote address changed.
ECANCELED 1152 The asynchronous I/O request has been canceled.
Table 2. EZASMI/EZASOKET only - ERRNO Values Sorted by Value
ERRNO ERRNO Value from EZASMI/EZASOKET Description See Note
EZAINVFU 20000 Invalid Function used with EZASOKET call. 1
EZAINVPA 20001 Incorrect Parameter with EZASOKET call. 1
EZAERL00 20100 Error loading phase EZASOH00.  
EZAERGTV 20107 Not enough partition GETVIS.  
EZAERNIN 20108 First call not INITAPI.  
EZAERREC 20111 Recursive entry of EZA interface.  
EZAETRNA 20112 EZATRUE not active (CICS® only).  
EZAERLIF 20113 LOAD of TCP/IP interface routine failed.  
EZAERBRI 20114 Bad return code from TCP/IP I/F routine.  
Note:
  1. Used by EZASOKET interface only.
Programming Notes:
  1. C Language definitions for ERRNOs (other than those returned by EZASMI/EZASOKET) can be found in ERRNO.H as shipped in PRD2.SCEEBASE.
  2. Assembler equates for ERRNOs that may be returned from the EZASMI macro or the EZASOKET call interface can be included in your assembler program by EZASMI TYPE=TASK,STORAGE=DSECT.
Table 3. ERRNO Values sorted by Name
ERRNO Value
EACCESS 111
EADDRINUSE 1115
EADDRNOTAVAIL 1116
EAFNOSUPPORT 1114
EAGAIN 112
EALREADY 1104
EBADF 113
EBADMSG 1140
EBUSY 114
ECANCELED 1152
ECHILD 115
ECOMM 1147
ECONNABORTED 1120
ECONNREFUSED 1128
ECONNRESET 1121
EDEADLK 116
EDESTADDRREQ 1106
EDOM 1
EDOTEDOT 1150
EDQUOT 1133
EEXIST 117
EFAULT 118
EFBIG 119
EHOSTDOWN 1129
EHOSTUNREACH 1130
EIBMBADCALL 1000
EIBMBADPARM 1001
EIBMCANCELLED 1009
EIBMCONFLICT 1008
EIBMIUCVERR 1004
EIBMSOCKINUSE 1003
EIBMSOCKOUTOFRANGE 1002
EIDRM 1141
EILSEQ 147
EINPROGRESSS 1103
EINTR 120
EINVAL 121
EIO 122
EISCONN 1123
EISDIR 123
ELEMSGERR 201
ELENOFORK 200
ELOAD 83
ELOOP 146
EMFILE 124
EMLINK 125
EMSGSIZE 1107
EMULTIHOP 1149
EMVSBADCHAR 160
EMVSCATLG 153
EMVSCVAF 152
EMVSSDYNALC 151
EMVSERR 157
EMVSEXPIRE 168
EMVSINITIAL 156
EMVSNORTL 167
EMVSNOTUP 150
EMVSPARM 158
EMVSPASSWORD 169
EMVSPATHOPTS 166
EMVSPFSFILE 159
EMVSPFSPERM 162
EMVSSAF2ERR 164
EMVSSAFEXTRERR 163
EMVSTODNOTSET 165
ENAMETOOLONG 126
ENETDOWN 1117
ENETRESET 1119
ENETUNREACH 1118
ENFILE 127
ENOBUFS 1122
ENODATA 148
ENODEV 128
ENOENT 129
ENOEXEC 130
ENOLINK 1144
ENOLCK 131
ENOMEM 132
ENOMSG 1139
ENONET 1142
ENOPROTOOPT 1109
ENOSPC 133
ENOSR 1138
ENOSTR 1136
ENOSYS 134
ENOTBLK 1100
ENOTCONN 1124
ENOTDIR 135
ENOTEMPTY 136
ENOTSOCK 1105
ENOTTY 137
ENXIO 138
EOFFLOADboxDOWN 1007
EOFFLOADboxERROR 1005
EOFFLOADboxRESTART 1006
EOPNOTSUPP 1112
EOVERFLOW 149
EPERM 139
EPFNOSUPPORT 1113
EPIPE 140
EPROCLIM 1131
EPROTO 1148
EPROTONOSUPPORT 1110
EPROTOTYPE 1108
ERANGE 2
EREMCHG 1151
EREMOTE 1135
EROFS 141
ERREMOTE 1143
ESHUTDOWN 1125
ESOCKTNOSUPPORT 1111
ESPIPE 142
ESRCH 143
ESRMNT 1146
ESTALE 1134
ETIME 1137
ETIMEDOUT 1127
ETOOMANYREFS 1126
ETXTBSY 1101
EUSERS 1132
EVSE 183
EWOULDBLOCK 1102
EXDEV 144
E2BIG 145
EZAERBRI 20114
EZAERGTV 20107
EZAERL00 20100
EZAERLIF 20113
EZAERNIN 20108
EZAERREC 20111
EZAETRNA 20112
EZAINVFU 20000
EZAINVPA 20001