Home
Clear a local queue
To delete all the messages from a local queue called MAGENTA.QUEUE, use the following command:
CLEAR QLOCAL (MAGENTA.QUEUE)There is no prompt that enables you to change your mind; once you press the Enter key the messages are lost.
We cannot clear a queue if:
- There are uncommitted messages that have been put on the queue under syncpoint.
- An application currently has the queue open.
Parent topic:
Working with local queues
fa11280_
Home