List of TXPI Error Return Values

Document ID : KB000027735
Last Modified Date : 14/02/2018
Show Technical Document Details

Question:

What are the return values that TCPIP returns to XCOM?

Answer:

These are the error return values that TCPIP returns to XCOM, also referred to as the TXPI secondary return code. The description can be found in the "QSYSINC/SYS(ERRNO)" file member, use "WRKMBRPDM QSYSINC/SYS ERRNO", option 5, type the numeric code followed by PF16 to search.

An extract of the file follows:

/*sys/errno.h defines */                                                    
#define EACCES          3401 /*  Permission denied.                      */ 
#define ENOTDIR         3403 /*  Not a directory.                        */ 
#define ENOSPC          3404 /*  No space available.                     */ 
#define EXDEV           3405 /*  Improper link.                          */ 
#define EWOULDBLOCK     3406 /*  Operation would have caused the process */ 
#define EAGAIN          3406 /*  Operation would have caused the process */ 
#define EINTR           3407 /*  Interrupted function call.              */ 
#define EFAULT          3408 /*  The address used for an argument was no */ 
#define ETIME           3409 /*  Operation timed out                     */ 
#define ENXIO           3415 /*  No such device or address               */ 
#define ECLOSED         3417 /*  Socket closed                           */ 
#define EADDRINUSE      3420 /*  Address already in use.                 */ 
#define EADDRNOTAVAIL   3421 /*  Address not available.                  */ 
#define EAFNOSUPPORT    3422 /*  The type of socket is not supported in  */ 
#define EALREADY        3423 /*  Operation already in progress.          */ 
#define ECONNABORTED    3424 /*  Connection ended abnormally.            */ 
#define ECONNREFUSED    3425 /*  A remote host refused an attempted conn */ 
#define ECONNRESET      3426 /*  A connection with a remote socket was r */ 
#define EDESTADDRREQ    3427 /*  Operation requires destination address. */ 
#define EHOSTDOWN       3428 /*  A remote host is not available.         */ 
#define EHOSTUNREACH    3429 /*  A route to the remote host is not avail */
#define EINPROGRESS     3430 /*  Operation in progress.                  */  
#define EISCONN         3431 /*  A connection has already been establish */  
#define EMSGSIZE        3432 /*  Message size out of range.              */  
#define ENETDOWN        3433 /*  The network is not currently available. */  
#define ENETRESET       3434 /*  A socket is connected to a host that is */  
#define ENETUNREACH     3435 /*  Cannot reach the destination network.   */  
#define ENOBUFS         3436 /*  There is not enough buffer space for th */  
#define ENOPROTOOPT     3437 /*  The protocol does not support the speci */  
#define ENOTCONN        3438 /*  Requested operation requires a connecti */  
#define ENOTSOCK        3439 /*  The specified descriptor does not refer */  
#define ENOTSUP         3440 /*  Operation not supported.                */  
#define EOPNOTSUPP      3440 /*  Operation not supported.                */  
#define EPFNOSUPPORT    3441 /*  The socket protocol family is not suppo */  
#define EPROTONOSUPPORT 3442 /*  No protocol of the specified type and d */  
#define EPROTOTYPE      3443 /*  The socket type or protocols are not co */  
#define ERCVDERR        3444 /*  An error indication was sent by the pee */  
#define ESHUTDOWN       3445 /*  Cannot send data after a shutdown.      */  
#define ESOCKTNOSUPPORT 3446 /*  The specified socket type is not suppor */  
#define ETIMEDOUT       3447 /*  A remote host did not respond within th */  
#define EUNATCH         3448 /*  The protocol required to support the sp */  
#define EBADF           3450 /*  Descriptor not valid.                   */  
#define EMFILE          3452 /*  Too many open files for this process.   */  
#define ENFILE          3453 /*  Too many open files in the system.      */  
#define EPIPE           3455 /*  Broken pipe.