Technical data

Using Files and Directories
10.8 Copying and Transferring Files
3.
$ COPY/LOG OPENVMS_LONG$FILE_NAME.LONG_EXT MTA1:
%COPY-S-COPIED, WRKD:[MANUAL]OPENVMS_LONG$FILE_NAME_EXT;1
copied to MTA1:OPENVMS_LONG$FILE_NAME.LONG_EXT;1 (80 records)
In this example, a long file name with a long file type is copied to the tape
volume MTA1: with the same file name and type as on the disk volume.
4.
$ COPY/LOG %%.JOU;* MTA1:*.*
%COPY-S-COPIED, WRKD:[MANUAL]C6.JOU;1 copied to MTA1:[]C6.JOU;1 (4 records)
In this example, all files with a two-character file name and a file type of
.JOU are copied to the tape volume MTA1: with the same file name and type
as on the disk volume. Version numbers are preserved.
10.8.3 Continuing to Copy at the End of a Tape
When you are copying to or from a tape and that tape reaches the end, the
system suspends processing and sends a request to mount the next tape in the
volume set. An operator communication manager (OPCOM) message similar to
the following one is displayed at the terminal:
%%%%%%%%%%% OPCOM, 14-MAY-2000 15:23:31.78 %%%%%%%%%%%
request 3, from user PLAW
MOUNT new relative volume 2 (DW0QT2) on MTA1:
Note
Because messages are sent only to the operator’s terminal that is enabled
for tape messages, you do not usually see this message and might
not realize that another tape is needed to complete the read or write
operation.
See Section 20.6 for more information about OPCOM messages.
If automatic volume switching is disabled or if the tape file system cannot mount
a given volume, you might need to mount a continuation volume in a volume set.
See Section 9.8.2 for information about mounting continuation volumes.
10.8.4 Using the Exchange Utility (EXCHANGE)
The Exchange utility (EXCHANGE) converts the format of files, as appropriate,
when copying files between volumes of different structures. EXCHANGE
recognizes all Files-11 and RT-11 disk volumes on OpenVMS devices, as well
as all DOS-11 and RT-11 formatted volumes on 9-track tape devices.
For more information about how to use EXCHANGE and for a description of all
EXCHANGE commands, qualifiers, and parameters, refer to online help or the
archived manual OpenVMS Exchange Utility Manual.
10.8.5 Using the EXCHANGE/NETWORK Command
Use the DCL command EXCHANGE/NETWORK to transfer files to and from
operating systems that do not support OpenVMS file organizations. This transfer
occurs over a DECnet communications link that connects nodes that are both
OpenVMS and not OpenVMS operating systems.
Using Files and Directories 1033