Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

xcom script to pull data not exiting out

851268May 21 2014 — edited May 21 2014


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.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 18 2014
Added on May 21 2014
6 comments
3,172 views