Command Examples for Metatransfers and Inquire on Status

This is a sample script file for performing a metatransfer and an inquire, and producing an
Easytrieve
report:
xdtful11601
This is a sample script file for performing a metatransfer and an inquire, and producing an
Easytrieve
report:
xcomtcp -c5 -f /tmp/asm2.cnf stcip=xcomwinca.ca.com stcport=48316 inq_file=/tmp/xcom.inq.file xcomtcp -c6 stcip=xcomwinca.ca.com stcport=48316 inq_file=/tmp/xcom.inq.file inq_wait=000005 hist_file=/tmp/xcomhist echo Process Returned $?
  • The - c5 metatransfer parameters LUSERID and LPASSWORD are not shown in the previous example but are required and can be specified in the configuration file.
  • Easytrieve
    reports cannot be generated using 
    XCOM Data Transport
    for Linux PC.
    To generate
    Easytrieve
    report, export the xcomhist file generated by using above script to a Windows
    XCOM Data Transport
    machine and follow the instructions in How to Generate
    Easytrieve
    Reports on History Records.
     
Suppose that this script file is named xmeta_script and is located in /tmp.
To execute this script
 
  1. Submit the following command to change to the directory where xcomtcp is located:
    cd $XCOM_HOME
     This step is not required if the 
    XCOM Data Transport
     directory is in the system path.
  2. Submit the following command to run the script file:
    ./tmp/xmeta_script