Clearing a local queue

To delete all the messages from a local queue called MAGENTA.QUEUE, use the following command:

CLEAR QLOCAL (MAGENTA.QUEUE)
Note:
There is no prompt that enables you to change your mind; once you press the Enter key the messages are lost.

You cannot clear a queue if: