Deletes a print or batch queue created by the INITIALIZE/QUEUE command, and deletes all the jobs in the queue. The /QUEUE qualifier is required. Requires manage (M) access to the queue. To delete a queue manager on a node or OpenVMS Cluster system, add the /MANAGER qualifier. Format DELETE/QUEUE queue-name[:]
1 – Parameter
queue-name[:] Specifies the name of the queue to be deleted.
2 – Qualifier
2.1 /LOG
/LOG /NOLOG (default) Controls whether the DELETE/QUEUE command displays the name of each queue after it is deleted.
3 – Example
$ INITIALIZE/QUEUE/DEFAULT=FLAG/START/ON=LPA0 LPA0_QUEUE . . . $ STOP/QUEUE/NEXT LPA0_QUEUE $ DELETE/QUEUE LPA0_QUEUE In this example, the first command initializes and starts the printer queue LPA0_QUEUE. The STOP/QUEUE/NEXT command stops the queue. The DELETE/QUEUE command deletes the queue.
4 /MANAGER
Deletes a queue manager on a node or OpenVMS Cluster system. All queues and jobs managed by the specified queue manager are also deleted. You must first stop the queue manager. The /NAME_OF_ MANAGER qualifier is required. Requires OPER (operator) and SYSNAM (system logical name) privileges. Format DELETE/QUEUE/MANAGER/NAME_OF_MANAGER=name
4.1 – Qualifier
4.1.1 /NAME_OF_MANAGER
/NAME_OF_MANAGER=string Identifies the name of the queue manager to be deleted. The /NAME_OF_MANAGER qualifier is required. The required name value can be up to 31 characters long and can be a logical name.
4.2 – Example
$ DELETE/QUEUE/MANAGER/NAME_OF_MANAGER=BATCH_MANAGER The DELETE/QUEUE/MANAGER/NAME_OF_MANAGER command in this example deletes the queue manager named BATCH_MANAGER. The command removes all references to the specified queue manager from the shared master file of the queue database and deletes the queue and journal files associated with the BATCH_MANAGER's database.