The command "DCMT DIS QUEUE *ALL" produces a list of queues. One of these is specified in a delete command using this syntax:
DCMT VARY QUEUE <queue-name> DELETE
This gets error below, even though the first command shows that the queue exists.
DC265911 V10 QUEUE CCCP974PCL NOT FOUND