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 » runmqdlq

Post new topic  Reply to topic
 runmqdlq « View previous topic :: View next topic » 
Author Message
akm.mohan
PostPosted: Tue Mar 02, 2010 12:53 pm    Post subject: runmqdlq Reply with quote

Apprentice

Joined: 07 Oct 2008
Posts: 41

Hi Friends,

i need some info on runmqdlq.Our dlq is filled up to 5000 msgs.need to run the runmqdlq i did this runmqdlq queuename.dlq Qmanger no worked out.

and i tired with rules tables also like this runmqdlq queuename.dlq Qmanger < rule.txt

in the rule.txt i gave qname and qmname. No msg was processed.

Need to get msg processed from the dlq. give some info

thanks in Advance for your help

Kris
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Mar 02, 2010 1:48 pm    Post subject: Re: runmqdlq Reply with quote

Grand High Poobah

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

akm.mohan wrote:
in the rule.txt i gave qname and qmname. No msg was processed.


Well if all you had in the rules table was the qname and qmgr name of course no msg was processed. Try putting some rules in the table as well!

akm.mohan wrote:
Need to get msg processed from the dlq. give some info


All the info is in the part of the Info Centre you didn't read. The rules table is described in 2 sections: 1 describes how to specify the queue manager in the table rather than the command line, the other specifies the various actions you can set up.

If you did in fact put some actions a) why didn't you say so & b) post your rules table.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Mar 02, 2010 9:46 pm    Post subject: Reply with quote

Grand High Poobah

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

c) make sure your rule table ends with an empty line.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
shashivarungupta
PostPosted: Tue Mar 02, 2010 11:57 pm    Post subject: Reply with quote

Grand Master

Joined: 24 Feb 2009
Posts: 1343
Location: Floating in space on a round rock.

d) This would give you some help, certainly !

http://www.mqseries.net/phpBB2/viewtopic.php?p=250603&highlight=#250603


_________________
*Life will beat you down, you need to decide to fight back or leave it.
Back to top
View user's profile Send private message Send e-mail
Mr Butcher
PostPosted: Wed Mar 03, 2010 12:33 am    Post subject: Reply with quote

Padawan

Joined: 23 May 2005
Posts: 1716

when messages end up in the dlq, there was a temporary or permanent error. before running the dlq handler, i suggest you check one or more messages from the dlq for the reason code, which you can find inn the dead-letter-header (DLH).

Fix the error first, then run the dlq handler, either with a proper specific rule or with something gobal like "reason(*) action(retry)" or whatever you want the dlq handler to do with your messages.....
_________________
Regards, Butcher
Back to top
View user's profile Send private message
akm.mohan
PostPosted: Wed Mar 10, 2010 9:17 am    Post subject: Reply with quote

Apprentice

Joined: 07 Oct 2008
Posts: 41

sry for the late reply, was on vacation for past 10days. THanks for all your replys

shashivarungupta the link was good.i tried with the RULES.RUL but i dont find any msg getting processed even i dont have any error.when i ran this runmqdlq command the cmd prompt screen was running like anything.in that it says

D:\mw\MQSeries\qmgrs\VEGALDQMP>runmqdlq VEGALDQMP.DEAD.LETTER.QUEUE VEGALDQMP
0<RULES.RUL

D:\mw\MQSeries\qmgrs\VEGALDQMP>runmqdlq VEGALDQMP.DEAD.LETTER.QUEUE VEGALDQMP
0<RULES.RUL

.......


like this the cmd prompt was going on.....

I would like to tell MQ version

Name: WebSphere MQ
Version: 530.7 CSD07
CMVC level: p530-07-L040527
BuildType: IKAP - (Production)

how can we create new blank line.

The reason code for these msg are MQRC_Q_FULL


Last edited by akm.mohan on Wed Mar 10, 2010 9:19 am; edited 1 time in total
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Mar 10, 2010 9:19 am    Post subject: Reply with quote

Grand High Poobah

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

akm.mohan wrote:
I would like to tell MQ version

Name: WebSphere MQ
Version: 530.7 CSD07
CMVC level: p530-07-L040527
BuildType: IKAP - (Production)


Apply some maintenance. Seriously.

akm.mohan wrote:
how can we create new blank line.


Open the rules file with whatever editor you used to create it, navigate to the end and press enter.


_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
exerk
PostPosted: Wed Mar 10, 2010 12:04 pm    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

akm.mohan wrote:
...The reason code for these msg are MQRC_Q_FULL


And if the queue is still full, running the dead-letter handler will have no effect whatsoever...
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
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 » runmqdlq
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.