User`s guide
PROTECT
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 prints -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.)
Options
/BEFORE[:date]
Protects only those files created before the specified date. If no date is specified,
the current system date is used.
The following command protects all MAC files on DK created before March 20,
1991:
.PROTECT/BEFORE:20:MAR:91 *.MAC
Files protected:
DK:A.MAC
DK:B.MAC
DK:C.MAC
/DATE[:date]
Protects only those files with a certain creation date. If no date is specified, the
current system date is used.
The following command protects all MAC files on DK that were created on March
20, 1991:
.PROTECT/DATE:20:MAR:91 *.MAC
Files protected:
DK:A.MAC
DK:B.MAC
DK:C.MAC
/EXCLUDE
Protects all the files on a device except the ones you specify. The following
command, for example, protects all files on DU1 except SAV files and SYS files:
.PROTECT/EXCLUDE DU1:*.SAV
?PIP-W-No .SYS action
Files protected:
DU1:ABC.OLD
DU1:AAF.OLD
DU1:COMB.
DU1:MERGE.OLD
/INFORMATION
Changes the severity level of the error message that displays when not all of the
input files you specified are found. If you do not use /INFORMATION, RT–11
displays an error message when it is unable to find an input file, and execution
RT–11 Command Descriptions 195










