In reference to message
#XCOMU0298E Unable to allocate remote transaction program: Txpi 238: getaddrinfo error return value = 1
The message indicates that CA XCOM DATA TRANSPORT could not resolve the IP name or address.
So, you need to make sure that you have the correct value for REMOTE_SYSTEM=.
Now you need to keep in mind that CA XCOM DATA TRANSPORT also have a REMOTE_SYSTEM_RF=, REMOTE_SYSTEM_SJ= and REMOTE_SYSTEM_SR=.
Each of the parameters is for the different type of transfers and you must use them accordingly with those type of transfers.
Therefore please have a look at the list of parameters at link
Please make sure that you have specified REMOTE_SYSTEM_RF= in the xcom configfile when you perform a RECEIVE FILE transfer.