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 » IBM MQ Installation/Configuration Support » I need programme the dead.letters.queue

Post new topic  Reply to topic
 I need programme the dead.letters.queue « View previous topic :: View next topic » 
Author Message
Artemio
PostPosted: Fri Mar 05, 2004 8:48 pm    Post subject: I need programme the dead.letters.queue Reply with quote

Novice

Joined: 11 Sep 2003
Posts: 21

I need to set option to discared the old message in the dead.letters.queue because my dead.letters.queue will be full!!!, How I hava to do this?
Back to top
View user's profile Send private message Send e-mail MSN Messenger
PeterPotkay
PostPosted: Fri Mar 05, 2004 9:18 pm    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

Take a look in the Sys Admin Guide. There is a whole chapter about handling messages in the DLQ.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
kman
PostPosted: Mon Mar 08, 2004 12:19 am    Post subject: Reply with quote

Partisan

Joined: 21 Jan 2003
Posts: 309
Location: Kuala Lumpur, Malaysia

also check out the suppport pac site. there is a support pac for deadletter handling.
Or check out CapitalWare site for some stuff.
Back to top
View user's profile Send private message Yahoo Messenger
bower5932
PostPosted: Mon Mar 08, 2004 6:39 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

If you simply want to discard them, consider putting an expiry on them that will get them thrown away as they expire (which is a good thing to consider for all messages).
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
bduncan
PostPosted: Mon Mar 08, 2004 1:30 pm    Post subject: Reply with quote

Padawan

Joined: 11 Apr 2001
Posts: 1554
Location: Silicon Valley

Perhaps my memory is rusty, but setting an expiry on dead letter messages will not prevent the dead letter queue from filling up. Because expired messages aren't actually removed from the queue until an MQGET is issued that would have otherwise retrieved it, you can have a queue full of expired messages. As long as there is no application doing MQGETs (browse or otherwise) against the dead letter queue, it will fill up.
right?
_________________
Brandon Duncan
IBM Certified MQSeries Specialist
MQSeries.net forum moderator
Back to top
View user's profile Send private message Visit poster's website AIM Address
bower5932
PostPosted: Mon Mar 08, 2004 2:51 pm    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

You are correct about having to try a MQGET to actually get rid of the message. I figured that if you were worried about these messages that somebody would be looking at the queue often enough to throw them away.

However, I believe that there is a zOS parameter that you can specify that says how often to scan looking for expired messages. I guess I could claim that I was talking about zOS....
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
bduncan
PostPosted: Wed Mar 10, 2004 2:31 pm    Post subject: Reply with quote

Padawan

Joined: 11 Apr 2001
Posts: 1554
Location: Silicon Valley

zOS? What's that?
_________________
Brandon Duncan
IBM Certified MQSeries Specialist
MQSeries.net forum moderator
Back to top
View user's profile Send private message Visit poster's website AIM Address
oz1ccg
PostPosted: Thu Mar 11, 2004 8:37 am    Post subject: Reply with quote

Yatiri

Joined: 10 Feb 2002
Posts: 628
Location: Denmark

I guess it's ALTER QMGR EXPRYINT(n) that Bower is refering to.
http://publibfp.boulder.ibm.com/epubs/html/csqzaj09/csqzaj090p.htm#HDRALTMMS

But it's only available on z/OS, but it's quite simple to check for expired messages:
Code:
mqconnect
Query local-queues
  do while more queues
  mqopen
  mqget (with msgid=MrMQ, corrid=MrMQ a non used combination)
  mqclose
  end
mqdisc

So such a routine shouldn't be so difficult to write...

By the way zOS or in Danish z/OS is just another name for a stable web-server, no big deal.

Just my $0.02
_________________
Regards, Jørgen
Home of BlockIP2, the last free MQ Security exit ver. 3.00
Cert. on WMQ, WBIMB, SWIFT.
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » I need programme the dead.letters.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.