Previous Topic: VOLSQ

Next Topic: Parameters


Using the Retrieve File Command

Use the Retrieve File command to retrieve a copy of a file from a remote system and write it to a specified file on the local system.

The -c4 option specifies that this is a Retrieve File transfer. The remote file to be copied is indicated by the REMOTE_FILE_RF parameter. The file on the local system is indicated by the LOCAL_FILE_RF parameter.

Example 1

In the following example, the xcom62 command is used. The remote file customer is retrieved into the local file /accounts. All other necessary parameters are read from the default configuration file, xcom.cnf.

xcom62 -c4 -f REMOTE_FILE_RF=customer LOCAL_FILE_RF=/accounts

Example 2

In the following example, the xcomtcp command is used. The remote file customer is retrieved into the local file /accounts. All other necessary parameters are read from the default configuration file, xcom.cnf.

xcomtcp -c4 -f REMOTE_FILE_RF=customer LOCAL_FILE_RF=/accounts