HELP DELETE — MicroVMS 4.4
Deletes a file or files. Format DELETE file-spec,... Requires DELETE access to the file or sufficient privilege to override the protection.
Additional information available:
/CHARACTERISTIC/ENTRY/FORM/INTRUSION_RECORD/KEY
/QUEUE/SYMBOL
Parameters
file-spec,... Specification(s) of file(s) being deleted. Wildcard characters can be used. The plus sign can be used in place of the comma between file specifications. Version numbers must be specified on all file specifications. A null version number (a semicolon without the number) or a version number of zero deletes the latest version. A wildcard version number deletes all versions. File specifications after the first one can omit all parts down to (but excluding) the version number, and the defaults will come from the preceding specification. The first file specification can omit only the device and directory; the defaults will come from your current device/directory.
Qualifiers
Additional information available:
/BACKUP/BEFORE/BY_OWNER/CONFIRM/CREATED/ERASE
/EXCLUDE(/EXPIRED/LOG/MODIFIED/SINCE
/BACKUP
/CREATED (default) /EXPIRED /MODIFIED Selects files for the delete operation according to the dates of their most recent backups, their creation dates, their expiration dates, or the dates of their last modifications. Relevant only with the /BEFORE and /SINCE qualifiers.
/BEFORE[=time]
Deletes only those files with dates (creation, modification, expiration, or backup) that precede the specified time. You can specify time as an absolute time, a combination of absolute and delta times, or as one of the following keywords: TODAY (default), TOMORROW, and YESTERDAY.
/BY_OWNER[=uic]
Deletes only those files with the specified user identification code. The default uic is that of the current process.
/CONFIRM
/NOCONFIRM (default) Issues a request for confirmation before each deletion. The following responses are valid: +----------+-----------------------------------------------+ | YES | Delete the file | +----------+-----------------------------------------------+ | NO | Do not delete the file | +----------+-----------------------------------------------+ | TRUE | Delete the file | +----------+-----------------------------------------------+ | FALSE | Do not delete the file | +----------+-----------------------------------------------+ | 1 | Delete the file | +----------+-----------------------------------------------+ | 0 | Do not delete the file | +----------+-----------------------------------------------+ | <RETURN> | Delete the file | +----------+-----------------------------------------------+ | ALL | Continue execution of the command with no | | | further confirmation prompts | +----------+-----------------------------------------------+ | <CTRL/Z> | Stop execution of the command | +----------+-----------------------------------------------+ | QUIT | Stop execution of the command | +----------+-----------------------------------------------+
/CREATED
See /BACKUP.
/ERASE
/NOERASE (default) Erases the specified file(s) from the disk so that the deleted data does not exist physically. By default, a file is just marked as deleted.
/EXCLUDE(=file-spec,...)
Excludes the specified file(s) from deletion. You can include a directory name but not a device name in the file specification(s). Wildcard characters are supported for file specifications. However, you cannot use relative version numbers to exclude a specific version.
/EXPIRED
See /BACKUP.
/LOG
/NOLOG (default) Displays the file specification of each file deleted as the command executes.
/MODIFIED
See /BACKUP.
/SINCE=[time]
Selects for deletion only those files dated (creation, modification, expiration, or backup) after the specified time. You can specify time as an absolute time, a combination of absolute and delta times, or one of the following keywords: TODAY (default), TOMORROW, YESTERDAY.
/CHARACTERISTIC
Deletes a queue characteristic. Format DELETE/CHARACTERISTIC name Requires the Secure User Environment Option. Requires OPER privilege.
Additional information available:
Parameters
name The name of the characteristic.
/ENTRY
Deletes one or more print or batch jobs from a queue. The jobs can be in progress or waiting in the queue. Format DELETE/ENTRY=(job-number,...) queue-name[:] Requires the Secure User Environment Option. Requires OPER privilege, EXECUTE access to the queue, or DELETE access to the job.
Additional information available:
Parameters
queue-name[:] Name of the queue handling the job to be deleted.
Qualifiers
Additional information available:
/ENTRY=(job-number,...)
Indicates a delete entry operation and specifies the job number(s) of the job(s) being deleted. This qualifier is required and must precede all other qualifiers and parameters.
/FORM
Deletes a form type for a printer or a terminal queue. When you delete a form definition, you must ensure that no outstanding references to the form exist in queues that have been mounted with the form or by jobs requesting that form. Format DELETE/FORM form-name Requires OPER privilege.
Additional information available:
Parameters
form-name The name of the form.
/INTRUSION_RECORD
Removes an entry from the breakin database. Format DELETE/INTRUSION_RECORD source Requires the Secure User Environment Option. Requires CMKRNL and SECURITY privileges.
Additional information available:
Parameter
source Entry being removed from the breakin database.
/KEY
Deletes a key definition(s). Format DELETE/KEY [key-name]
Additional information available:
Parameters
key The name of the key to be deleted. Incompatible with the /ALL qualifier.
Qualifiers
Additional information available:
/ALL
Deletes all key definitions in the specified (or, by default, the current) state. Incompatible with the key-name parameter.
/LOG (default)
/NOLOG Displays a message indicating the deletion has taken place.
/STATE=(state,...)
/NOSTATE Specifies the name(s) of the state(s) for which the specified key definition(s) are to be deleted. The default state is the current state.
/QUEUE
Deletes a print or batch queue and all the jobs in the queue. The specified queue must have been stopped. Format DELETE/QUEUE queue-name[:] Requires the Secure User Environment Option. Requires OPER privilege.
Additional information available:
Parameters
queue-name[:] Name of the queue being deleted.
/SYMBOL
Deletes a symbol or symbols. Format DELETE/SYMBOL [symbol-name]
Additional information available:
Parameters
symbol-name Name of the symbol being deleted. A name is required unless the /ALL qualifier is specified. Incompatible with the /ALL qualifier.
Qualifiers
Additional information available:
/ALL
Deletes all symbols at the specified level. The /ALL qualifier is incompatible with the symbol-name parameter.
/GLOBAL
/LOCAL (default) Specifies the level of the symbol.
/LOG
/NOLOG (default) Displays the symbols being deleted.