MQ Visual Edit

Chapter 4 Clearing a Queue by ID

Clearing a Queue by ID.

This section will describe how to clear messages from a queue that match a Message ID or Correlation ID or both.

If you have previously opened SYSTEM.DEFAULT.LOCAL.QUEUE, the main panel may look something like:

 

From the main panel of MQ Visual Edit, select File, then Clear Queue by ID.

 

Input a hexidecimal string (HEX) into the MEssage ID or Correlation ID or both fields. It MUST be 48 digits long.

Make sure to click the appropriate check box (Message ID or Correlation ID or both) for the search criteria.

You may also invert the search and deletion of messages. Click the "Remove all messages without matching ID(s)", to delete all messages that do NOT contain the user specified search string.

Click Ok to proceed to the next step. It will now search the queue for messages match the user's search string.

 

Click Yes if you are sure that you want the to delete the number of messages specified.
Note: There is no undo function for the Clear Queue option.

 

After the Clear Queue action has been performed, the main panel may look something like (red means messages were deleted ):

 




Copyright © 2002-2012 Capitalware Inc.  All Rights Reserved.