Xcom transfer failed with internal error message "Txpi 236: CheckProtocol: call getaddrinfo() failed: The name does not resolve for the supplied parameters."
Internal XCOM "Txpi nnn" messages have a different presentation depending on the platform where XCOM runs. In this case, the message arose in an AS/400 box so the "external" message ID was XCM0899 and the full message was:
*NONE Command 07/02/22 11:41:23,549202 QCADRV QSYS 041C XCOMMSG3 XCOMR11 006E
Message . . . . : 4500 - SNDPGMMSG MSGID(XCM0899) MSGF(XCOMMSGF)
MSGDTA('XCOMR SEND ALLOCATE ALLOCATE 0TCP/IP
call successf 4 236 1Txpi 236: CheckProtocol: call getaddrinfo()
failed: The name does not resolve for the supplied parameters..')
TOPGMQ('*PRV') TOMSGQ(*TOPGMQ) MSGTYPE('*INFO')
XCM0899 Information 00 07/02/22 11:41:23,549293 XCOMMSG3 XCOMR11 006E XCOMTIOEH XCOMR11 00CA
Message . . . . : Fatal TCP/IP communications error occurred in program
XCOMR during state SEND ALLOCATE. Check second level text for more
information.
The error occurred while attempting to perform function ALLOCATE. Return code
information is: Primary return code 0 TCP/IP call successf
Secondary return code 4. TCP/IP primary return code 236.
TCP/IP secondary return code 1. TCP/IP message Txpi 236: CheckProtocol:
call getaddrinfo() failed: The name does not resolve for the supplied
parameters... If this is a socket error the error description is:
XCOM™ Data Transport® for AS/400 i5/OS
NOTE: If the IP address of the remote host is known, it's still possible to run the transfer specifying the IP address of the remote host instead of its IP name.