The queue menu includes two options for removing messages from a queue: Clear All and Delete All.
For information about deleting one or multiple selected individual messages, see Delete one or more selected messages.
What is the difference between clearing and deleting messages?
- Clear All: clears an entire queue without reading the messages. This function will not work if the queue is open by another application or if the queue contains uncommitted messages.
- Delete All: allows the user to delete all messages within the selected queue. The system reads then deletes one message at a time. This function does not recognize uncommitted messages, which means that there could still be uncommitted messages on the queue. Also, the command might fail if the queue is exclusively opened by another application. The delete function includes an option to apply message criteria to the delete action.
To delete or clear messages:
- Select a queue. A pop-up menu appears.
- Select Messages from the pop-up menu.
- Choose one of the two options on the sub-menu that are related to purging a queue: Delete All or Clear All. In both cases a confirmation dialog box will appear to complete the action.
- If you chose Delete All, a Delete By Criteria list is available, which lists available message criteria. To delete only messages that meet specific criteria, select the name of the message criteria from the list. See Filtering messages across viewlets with message criteria configurations for more information.
- Click OK to continue.