Technical data

Using Files and Directories
10.8 Copying and Transferring Files
Use the EXCHANGE/NETWORK command to perform the following operations:
Transfer files between an OpenVMS node and a node that is not OpenVMS.
Transfer a group of input files to a group of output files.
Transfer files between two nodes that are not OpenVMS, provided those
nodes share DECnet connections with the OpenVMS node that issues the
EXCHANGE/NETWORK command.
For details on using the EXCHANGE/NETWORK command, refer to online help
or the OpenVMS DCL Dictionary.
How to Perform This Task
To issue the EXCHANGE/NETWORK command, use the following format:
EXCHANGE/NETWORK input-lespec[,...] output-lespec
where:
input-filespec Specifies the name of an existing file to be transferred. (Wildcard
characters are allowed.)
output-filespec Specifies the name of the output file into which the input is to be
transferred.
Example
$ EXCHANGE/NETWORK MYSYS_FILE.DAT FOO::FOREIGN_SYS.DAT
The command in this example transfers the file MYSYS_FILE.DAT, which is
located in the current default device and directory, to the file FOREIGN_SYS.DAT
on node FOO, which is not an OpenVMS node. By default, the command
automatically determines whether the transfer method should be block or record
I/O.
1034 Using Files and Directories