Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to clear queue

Status
Not open for further replies.

bourrelo

Programmer
Jan 19, 2005
4
CA
I'm just learning about Websphere MQ and I need assistance. We have an auto-email function that uses SMTP in our WS application (v 5.0.2). The email function has been down for several weeks and I have a fix I would like to try... but before patching the fix, I would like to clear any unsent messages in the queue that may have been sitting there for a couple of months. How can I clear/delete the queue? I don't know where to start.

Thanks in advance,
Louise
 
Try

CLEAR QLOCAL (your queue)

read the System Admin guide for further details.
 
Right... so I'm assuming there's an area where I can go to enter the command. The only experience I have with Websphere is using the Administrative Console to un-install and re-install the application I now support so when I said I didn't know where to start, that was literal.
I'll look for the System Admin guide you referred to for assistance and see what I can come up with.
 
bourrelo,
You can use runmqsc <QMGR Name> to enter the UNIX MQ command shell. From there you can do your CLEAR QLOCAL command.

HTH,
Dan

He who loses honor can lose nothing else.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top