Hello All
I am trying to pull a file from a LAN drive (Windows) to unix box using xcom. The pull is working, file is reaching the mentioned unix target location, however, my shell script which contain the xcom command is not exiting.
Following is the xcom command and there is nothing else in the shell script apart from this command
{
xcomtcp -c4 -f REMOTE_SYSTEM=$$SYSTEM_NAME \
REMOTE_FILE_RF=$$SRC_DIR \
LOCAL_FILE_RF=$$TARGET_DR \
FILE_OPTION=REPLACE \
PROTOCOL=TCPIP \
USERID=<<userid>> \
PASSWORD=<<pwd>> \
QUEUE=NO
}
Once the script is executed, the file reach the target directory in next second but the shell script doesn't exit. The file I am trying to pull is a csv of size 1KB. The following appears on the console when I trigger the shell script.
XCOMU0029I Locally initiated transfer started.
and thats it.... if I leave it for 2 hours, it will still be the same.... And if I press enter then the following appears
TID=<Number> XCOMU0289E Command failed, RC=1.
Any help in this regard would be much appreciated.
Thanks.