Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

Introduction to the TRANSFER-FILE command

&pagelevel(4)&pagelevel

If you wish to transfer a file, you must first indicate whether you wish to send (TO) the file or receive (FROM) it by using the operand TRANSFER-DIRECTION.

Following this the PARTNER operand is used to define the system with which the transfer is to take place.

The next step is to define the characteristics of the local system by using the LOCAL-PARAMETER operand. The structure specifications for the LOCAL-PARAMETER are to be entered in parentheses, i.e. LOCAL-PARAMETER=(...).

The REMOTE-PARAMETER operand contains details of the remote system. The structure specifications for the REMOTE-PARAMETER must also be entered in parentheses, i.e. REMOTE-PARAMETER=(...). In addition, the partner system type may also be specified before these parentheses; the possible entries are *BS2000, *MSP (for a partner system with z/OS) or *ANY (see Specifications for the remote system (REMOTE-PARAMETER)).

The remaining “optional” operands (see Optional entries) are used to define the other characteristics of the file transfer, such as compressed or encrypted transfer or the starting time for the transfer.