Previous Topic: CPI-C Protocol ParametersNext Topic: SPX Protocol Parameters


Send Multiple Output Files Using CPI-C

You can use CPI-C to send multiple output files if you follow these special requirements for each output file:

Follow these steps:

  1. In the "rpath=output_file" operand, specify the CPIC_LUNAME of the responder instead of the computer name of the responder.

    No brackets are required around the luname.

  2. In the protocol parameters operand, do not specify the CPIC_LUNAME.

Example: Agent-to-Agent Transfer

dtscli -a "ipath=SWTZDAMY::DTO.DTS20.C(PWTCP)" 
"rpath=A44ISTD1::PUBLIC.AAKEHH.PWTCP.TSO94" 
"rpath=A04ISTD1::PUBLIC.AAKEHH.PWTCP.TSO84" 
"rpath=KWWIGP21::C:\TDSTEST\SNATEST\FANOUT.C" 
"rpath=KWWIGP51::/USR/AAKEHH/TDSTEST/SNATEST/FANOUT.C" 
direction=s protocol=CPIC 

Example: Managed Transfer

An equivalent managed transfer for CPI-C users follows. This example is valid for a Windows user to transfer a file across multiple platforms to four different computers. Note that the -t operand and its parameters (protocol= and retry_interval=) must be specified in their entirety for each transfer.

dtscli -t "ipath=SWTZDAMY::DTO.DTS20.C(PWTCP)" 
"rpath=A44ISTD1::PUBLIC.AAKEHH.PWTCP.TSO94" 
protocol=CPIC retry_interval=30
-t "ipath=SWTZDAMY::DTO.DTS20.C(PWTCP)" 
"rpath=A04ISTD1::PUBLIC.AAKEHH.PWTCP.TSO84" 
protocol=CPIC retry_interval=30
-t "ipath=SWTZDAMY::DTO.DTS20.C(PWTCP)" 
"rpath=KWWIGP21::C:\TDSTEST\SNATEST\FANOUT.C" 
protocol=CPIC retry_interval=30
-t "ipath=SWTZDAMY::DTO.DTS20.C(PWTCP)" 
"rpath=KWWIGP51::/USR/AAKEHH/TDSTEST/SNATEST/FANOUT.C" 
protocol=CPIC retry_interval=30