Clear MQ Queue (CLRMQMQ)

The Clear MQ Queue (CLRMQMQ) command deletes all of the messages from a local queue.

The command fails if the queue contains uncommitted messages, or if an application has the queue open.