For incoming transfers, it is required to set the DOMAIN parameter on the receive server xcom.glb file so that parameter is automatically set and thus avoid existing partners having to set it on their command line when sending files to that server.
However for outgoing transfers from the same server that DOMAIN parameter should not be set because it may cause problems at the receive server due to the DOMAIN parameter not being recognized or that server already having it set in its xcom.glb to be used as the default.
What are the options to stop the DOMAIN parameter being set for outgoing transfers?
XCOM™ Data Transport® for Windows
Tests were done using a transfer .cnf file but the same results are valid for direct command line parameter use:
So setting DOMAIN to a single space ("DOMAIN= ") for the transfer will both override the initiate server xcom.glb DOMAIN value and will itself be overridden by the receive XCOM server xcom.glb DOMAIN parameter if it is set.
Also, see parameter order of precedence referenced in Create and Update Configuration Files using the Gui