Delete MQ Queue (DLTMQMQ)

The Delete MQ Queue (DLTMQMQ) command deletes an MQ queue.

If the queue is a local queue, it must be empty for the command to succeed. CLRMQMQ can be used to clear all of the messages from a local queue.

The command fails if an application has:

An application using the definition as a reply-to queue alias, however, does not cause this command to fail.