When you get error message XCOMM0705E when executing a XCOM Job which does several transfer using NEWXFER then check these parameters. Likely you specified two or more of these mutually exclusive parameters GROUP, IPNAME, LIST and LU.
Here is an example. You transfer one Dataset to another mainframe and then to a Unix-Server:
//SYSIN01 DD *
TYPE=SEND
FILETYPE=FILE
FILEOPT=REPLACE
LU=XCOMABC
LFILE=AAA.BBB.SOURCE
FILE=CCC.DDD.DEST
CODE=EBCDIC
USERID=<user>
PASSWORD=<password>
TRUNCATE=YES
SECURE_SOCKET=NO
*------
NEWXFER
*------
IPNAME=121.122.123.124
IPPORT=8044
LFILE=AAA.BBB.SOURCE
FILE=\xcom\backup\ccc-ddd-dest.txt
/*
Parameter NEWXFER allows you to only specify the changed parameters, the others are used with their old values. And here is the reason for the error: You specified IPNAME=... but the LU=... from the first transfer still is valid!
The Solution is to use the SYSIN01 as above but additionally specify LU= for the second transfer to remove that parameter:
//SYSIN01 DD *
TYPE=SEND
FILETYPE=FILE
FILEOPT=REPLACE
LU=XCOMABC
LFILE=AAA.BBB.SOURCE
FILE=CCC.DDD.DEST
CODE=EBCDIC
USERID=<user>
PASSWORD=<password>
TRUNCATE=YES
SECURE_SOCKET=NO
*------
NEWXFER
*------
LU=
IPNAME=121.122.123.124
IPPORT=8044
LFILE=AAA.BBB.SOURCE
FILE=\xcom\backup\ccc-ddd-dest.txt
/*