ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » deleting messages from Dead letter queue

Post new topic  Reply to topic
 deleting messages from Dead letter queue « View previous topic :: View next topic » 
Author Message
Augusto
PostPosted: Fri Dec 26, 2008 4:24 pm    Post subject: deleting messages from Dead letter queue Reply with quote

Apprentice

Joined: 08 Dec 2008
Posts: 29

I am getting below error while deleting messages from DLQ

clear ql(DLQ)

"AMQ8148: MQSeries object in use.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Dec 26, 2008 5:03 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Try creating a little file (mydlqhdlr.txt):

wait(no)
action(discard)

It is important that the file finishes with a blank line.

Then run
Code:
runmqdlq <DLQNAME> <QMGRNAME>  < mydlqhdlr.txt


And read the chapter about the Dead Letter Queue Handler.

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Augusto
PostPosted: Fri Dec 26, 2008 8:57 pm    Post subject: Reply with quote

Apprentice

Joined: 08 Dec 2008
Posts: 29

I want to delete to all messages on DLQ and i am getting above error?
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sat Dec 27, 2008 11:28 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Augusto wrote:
I want to delete to all messages on DLQ and i am getting above error?

Did you even read the above reply?
Have you noticed that it is the qmgr itself that has a handle on the DLQ and it is needed for normal operations. So use a DLQHandler already!
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Wed Dec 31, 2008 12:36 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Augusto wrote:
I want to delete to all messages on DLQ and i am getting above error?


It's amazing how,if you do the same thing in the same set of circumstances, the same thing happens!

You'd get the same thing issuing that command against any open queue. Best thing is to write a little application that destructively reads each message and run it against the queue.

Or use the application IBM have supplied as fjb_saper suggests!!!

If you're going to ignore the advice being given and just keep repeating your question, posting is pointless.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Augusto
PostPosted: Wed Dec 31, 2008 7:11 am    Post subject: Reply with quote

Apprentice

Joined: 08 Dec 2008
Posts: 29

I got it and solved my problem sorry to troble you. iam newbie to MQ
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » deleting messages from Dead letter queue
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.