User`s guide

COPY
Protection Features
Note that because of the file protection feature, you cannot execute any COPY
operations that result in the deletion of a protected file. For example, you cannot
copy a file from one volume to another if a protected file of the same name and type
already exists on the output volume.
When you copy files, the protection status of the output file will be the same
as the protection status of the input file, unless you use the /PROTECTION or
/NOPROTECTION option.
Using Wildcards
You can use wildcards in the input or output file specification of the command.
However:
The output file specification cannot contain embedded wildcards.
For all operations except CONCATENATE, if you use a wildcard in the input file
specification, the corresponding output file name or file type must be an asterisk
(*).
This example uses wildcards correctly:
COPY A%B.MAC *.BAK
In the CONCATENATE operation, the output specification must represent a single
file. Therefore, no wildcards are allowed.
Copying SYS Files and Files with Bad Blocks
RT–11 has a special way of handling system (SYS) files and files that cover bad
blocks (BAD files).
RT–11 requires you to use the /SYSTEM option to copy system files when you
use wildcards in the input file type or when you use the /EXCLUDE option.
You cannot copy system files simply by placing wildcards in file specifications.
However, you do not have to specify the /SYSTEM option, if you specify a SYS
file type.
To copy a BAD file, you must specify it by explicitly giving its file type. (You can
use wildcards when specifying the file name.) Since BAD files cover bad blocks
on a device, you usually do not need to copy, delete, or otherwise manipulate
these files.
With RT–11 file-structured device copy operations, the bad-block replacement
table on the RL01, RL02, RK06, or RK07 output device is automatically
preserved.
Specifying a Date in a COPY Option
Some COPY options accept a date as an argument. The syntax for specifying the
date is:
[dd][:mmm][:yy]
RT–11 Command Descriptions 43