Previous Topic: How to Use the Send File Command

Next Topic: How to Use the Send Job Command


How to Use the Retrieve File Command

Use the Retrieve File command at the command prompt 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

The Retrieve File command parameters:

FILE_OPTION_RF

LOCAL_FILE_RF

REMOTE_FILE_RF

REMOTE_SYSTEM_RF

UNIT_RF

VOLUME_RF