User`s guide

COPY
/INTERCHANGE[:size]
Transfers data in interchange format between interchange diskettes that are
compatible with IBM 3741 format and RT–11 block-replaceable devices or the
terminal. This option requires the FILEX utility.
/INTERCHANGE must appear in the command line after the file to which it
applies. If the output file is to be in interchange format, you can specify the length
of each record. The argument size represents the record length in characters (the
default record length is 80 bytes).
If you use the /WAIT option with /INTERCHANGE, you must use two device
drives for the operation.
The following command transfers the RT–11 file PROG.MAC from device DK to
device DX1 in interchange format, giving it the name PROG.MA. The record
length is set to 128
10
bytes.
.COPY PROG.MAC DX1:*.*/INTERCHANGE:128
/[NO]LOG
/LOG lists on the terminal the names of the files that were copied by the current
command. Normally, RT–11 displays a log only if there is a wildcard in the
file specification. If you specify /QUERY, RT–11 displays the name of each file
and asks you for confirmation before the operation proceeds. In this case, the
query messages replace the log, unless you specifically type /LOG/QUERY in the
command line.
The following example shows a COPY command line and the resulting log:
.COPY/LOG DU1:FILE.MAC DU0:FILE.MAC
Files copied:
DU1:FILE.MAC to DU0:FILE.MAC
/NOLOG prevents a list of the files copied from appearing on the terminal.
/MULTIVOLUME
Copies files from an input volume to one or more output volumes. This option is
useful when you are copying several files from a large input volume to a smaller
output volume and you are not sure all the files will fit on one output volume.
When you use this option, RT–11 copies files to the output volume until RT
11 finds a file that will not fit. RT–11 continues to search that file’s directory
segment, copying all files from that segment that will fit onto the output volume.
When no more files from that segment will fit on the output volume, RT
11 prompts you to mount the next output volume and displays the Continue?
message.
Mount another output volume of the same type and type Y. RT–11 begins the
COPY operation with the first file that did not fit on the previous output volume.
If you type N or
CTRL/C
, the operation is not completed and the monitor prompt
(.) appears.
50 RT–11 Command Descriptions