Previous Topic: Transferring Files Using SNA/APPC Protocols

Next Topic: Transferring Files Using TCP/IP Protocols


Using SNA/APPC Protocols

Your computer and the remote CA XCOM Data Transport system must be configured for the appropriate SNA/APPC for you to use SNA/APPC protocols with CA XCOM Data Transport.

The choice of protocol to use is indicated by the PROTOCOL parameter. This can be specified at the command line, in a configuration file, or in the xcom.glb file, depending upon your installation's needs. If the protocol is not specified at the command line, the defaults specified in the configuration file or in xcom.glb are used.

For more information about your platform's SNA/APPC configuration, see the CA XCOM Data Transport Installation Guide for UNIX and Linux and the SNA/APPC vendor documentation.

Example 1

In the following example, the xcom62 command is used to queue a file for a send file transfer, using SNA/APPC protocols. The configuration file is myconfig.cnf, the local file is named testa.aaa, and the remote file is named testb.bbb. The remote system is indicated by the value XCOMDEVT2 in the REMOTE_SYSTEM parameter. QUEUE is set to YES, so the transfer is queued. The protocol is determined by the value of the PROTOCOL parameter in the xcom.glb file, which should be set to SNA for an SNA/APPC transfer.

xcom62 -c1 -f myconfig.cnf LOCAL_FILE=testa.aaa
REMOTE_FILE=testb.bbb REMOTE_SYSTEM=XCOMDEVT2
QUEUE=YES

Example 2

In the following example, the xcom62 command is used to send a file directly, without sending it to the queue, using SNA/APPC protocols. The configuration file is myconfig.cnf, the local file is named testa.aaa, and the remote file is named testb.bbb. The remote system is indicated by the value XCOMDEVT2 in the REMOTE_SYSTEM parameter. QUEUE is set to NO, so the transfer starts immediately after you press Enter. The choice of protocols is indicated by the value SNA in the PROTOCOL parameter. If the default value in the configuration file or the xcom.glb file is SNA, you do not need to specify this value here.

xcom62 -c1 -f myconfig.cnf LOCAL_FILE=testa.aaa
REMOTE_FILE=testb.bbb REMOTE_SYSTEM=XCOMDEVT2
QUEUE=NO PROTOCOL=SNA