User`s guide

DELETE
Sequence-Number Operation
A positive
integer
RT–11 starts from the magtape’s present position and searches
for the file you specify. If RT–11 does not find the file you specify
before it reaches the sequence-numbered file from its starting
position, it deletes the sequence-numbered file.
Note: Deleting a sequence-numbered file also deletes any files that
follow it.
If the starting position is not the beginning of the tape, it is
possible that RT–11 will not find the file you specify, even though
it does exist on the tape.
A negative
integer
The magtape rewinds; then RT–11 follows the procedure outlined
in the preceding delete operation.
/[NO]QUERY
/QUERY requests confirmation before RT–11 deletes each file. This option is
particularly useful on operations that involve wildcards, when you may not be
completely sure which files RT–11 selected for the operation. This is the default
mode of operation when you use wildcards in the file specifications. Note that
specifying /LOG eliminates the automatic query; you must specify /QUERY with
/LOG to retain the QUERY function.
You must respond to a QUERY message by typing Y (or any string beginning
with Y)
RETURN
to initiate execution of a particular operation. RT–11 interprets
any other response as NO and does not perform the operation. Operations are
done as positive responses are given to queries.
The following example shows querying. Only the file DU1:AAF.MAC is deleted:
.DELETE/QUERY DU1:*.*
Files deleted:
DU1:ABC.MAC ? N
DU1:AAF.MAC ? Y
DU1:MERGE.FOR ? N
Pressing
CTRL/C
terminates the QUERY operation. For example, if you are
searching for a file to delete, as soon as the QUERY procedure displays the
file name, you can respond positively to that deletion and then press
CTRL/C
to
terminate the operation.
/NOQUERY suppresses the confirmation message RT–11 displays before it
deletes each file.
/SINCE[:date]
Deletes only those files created on or after a certain date. If you specify no date,
the current system date is used.
RT–11 Command Descriptions 69