User`s guide
COPY
where:
dd specifies the day (a decimal integer in the range 1–31).
mmm specifies the first three characters of the name of the month.
yy specifies the year (a decimal integer in the range 73–99).
The default value for the date is the current system date. If you omit any of these
values (dd, mmm, or yy), the system uses the values from the current system date.
For example, if you specify only the year 90 and the current system date is May
4, 1991, the system uses the date 4:MAY:90. If the current date is not set, it is
considered 0 (the same as for an undated file in a directory listing).
If you have selected timer support through the system generation process, but have
not selected automatic end-of-month date advancement, make sure that you set the
date at the beginning of each month with the DATE command. If you fail to set the
date at the beginning of each month, the system displays -BAD- in the creation date
column of each file created beyond the end-of-month. (Note that you can eliminate
-BAD- by using the RENAME/SETDATE command after you set the date.)
Note that references to unit numbers for TT are currently ignored. For example,
COPY TT1: is treated as COPY TT0:
Options
/ALLOCATE:size
Specify this option after the output file specification to reserve space on the device
for the output file. /ALLOCATE:size requires the DUP utility. The size argument
specifies the number of blocks of space to allocate. The meaningful range for this
value is from -1 to 65527. A value of -1 is a special case that creates the largest
file possible on the device.
/ASCII
Copies files in ASCII mode, ignoring and eliminating nulls (0
8
) and rubout (177
8
)
characters. It forces the high bit of each byte to zero and treats CTRL/Z (32
8
) as
the logical end-of-file on input. Files that consist of ASCII-format data include
source files you create with the editor, map files, and list files. The /ASCII option
cannot be used with /VERIFY. The following command copies a FORTRAN source
program from DU0 to DU1, giving it a new name, and reserving 50 blocks of space
for it:
.COPY/ASCII DU0:MATRIX.FOR DU1:TEST.FOR/ALLOCATE:50
/COPY/ASCII/CONCATENATE can be used to take ASCII files and compress
them. For example, if you combined three 3-block files, your combined file could
be less than 9 blocks, since the unused space in each of those files is moved to
the end of the single combined file.
NOTE
Do not use the COPY/ASCII command to copy JOU
files. Copy them in IMAGE mode (the default).
44 RT–11 Command Descriptions










