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 » How can I get the message with DLQ header in remote qmgr?

Post new topic  Reply to topic
 How can I get the message with DLQ header in remote qmgr? « View previous topic :: View next topic » 
Author Message
kun.leeing
PostPosted: Sun May 25, 2014 3:09 am    Post subject: How can I get the message with DLQ header in remote qmgr? Reply with quote

Disciple

Joined: 27 Sep 2008
Posts: 171

Hi experts,


In my scenario, 3 qmgrs, source one, middle one and target one, source and target got connected by sender-receiver thoughways through middle one, only source one in our scope, the others two all in another vendor's hold. Now we need to send messages from source one to target one by remote queue.

By tracing route, what I can confirm is my test message got stuck in middle qmgr and put in DLQ. So I wanna know the exact reason why the mesage could not reach the requested remote queue.

I would like to get the messages with DLQ header now which I sent . Could somebody tell me how can I ask the vendor for getting back my messages with DLQ headers? Is that possible? and Normally, in this kind of scenario, what is the way to request DLQ header?
Is that possible the message is saved in File for transporting or whatever ways?

Thanks in advance.
Back to top
View user's profile Send private message Send e-mail
tczielke
PostPosted: Sun May 25, 2014 4:44 am    Post subject: Reply with quote

Guardian

Joined: 08 Jul 2010
Posts: 941
Location: Illinois, USA

You may want to review the REPORT field as a possible way to get this information sent back to your application -> http://pic.dhe.ibm.com/infocenter/wmqv7/v7r5/topic/com.ibm.mq.ref.dev.doc/q097680_.htm?resultof=%22%72%65%70%6f%72%74%22%20
Back to top
View user's profile Send private message
kun.leeing
PostPosted: Sun May 25, 2014 5:36 am    Post subject: Reply with quote

Disciple

Joined: 27 Sep 2008
Posts: 171

Thanks,

but what I exactly want is DLQ Header from the vendor, preferably with the original message.
Back to top
View user's profile Send private message Send e-mail
exerk
PostPosted: Sun May 25, 2014 10:40 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

kun.leeing wrote:
Thanks,

but what I exactly want is DLQ Header from the vendor, preferably with the original message.

Then ask the 'vendor' to use their DLQ handler to route it back to you, to a queue of your choice, without stripping the DLQH.
_________________
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
bruce2359
PostPosted: Sun May 25, 2014 10:50 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

kun.leeing wrote:
Thanks,

but what I exactly want is DLQ Header from the vendor, preferably with the original message.

Contact the WMQ administrator at the place where the message ended up in their DLQ. Ask them to inspect the DLH (dead letter header), and tell you the ReasonCode in the DLH.

With supplied utilities, they can copy the message and DLH to a file, and email the file to you.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Sun May 25, 2014 4:19 pm    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

If you are you asking how to get it manually back, just talk to them and agree on a format. Have them save the message and header info to a file format that will work with a tool you have.

Or, as tczielke alluded to, change your app to set the MQRO_EXCEPTION_WITH_FULL_DATA Report option in the MQMD, and specify the Reply To Queue value in the MQMD which will be queue local on your system where you would like to see these reports. The middle queue manager will not only place the message in the DLQ with a Dead Letter Header, but will also send back a report message back to you that includes the entire original message plus the details of why the message went to the DLQ.

Optionally you can choose to also set the MQRO_DISCARD_MSG, which will tell the middle QM to not place the message in it's DLQ but to throw it away, leaving you with just the report message with all the original data and the reason why it would have gone to the DLQ. This could be useful because it eliminates you having to rely on them doing something with that message in the DLQ.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
kun.leeing
PostPosted: Sun May 25, 2014 6:18 pm    Post subject: Reply with quote

Disciple

Joined: 27 Sep 2008
Posts: 171

Thanks guys a lot for helping here.

Quote:
Then ask the 'vendor' to use their DLQ handler to route it back to you, to a queue of your choice, without stripping the DLQH.

Thanks, Exerk, I don't know if runmqdlq fulfill this? or I have to ask them for coding a new one , like changing the sample fitting this?

Quote:
Optionally you can choose to also set the MQRO_DISCARD_MSG, which will tell the middle QM to not place the message in it's DLQ but to throw it away, leaving you with just the report message with all the original data and the reason why it would have gone to the DLQ. This could be useful because it eliminates you having to rely on them doing something with that message in the DLQ.

Thanks, Peter. This is a really good suggestion, but unfortunately, I just have access to send test message by explorer.

Quote:
With supplied utilities, they can copy the message and DLH to a file, and email the file to you.

And Bruce, what exactly the Supplied utilities are? I do need to suggest for saving a file to me , that would be really helpful.

Thanks in advance.
Back to top
View user's profile Send private message Send e-mail
fjb_saper
PostPosted: Sun May 25, 2014 6:23 pm    Post subject: Reply with quote

Grand High Poobah

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

have you tried support pack IH03 RHFUtil(c) ?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
kun.leeing
PostPosted: Sun May 25, 2014 6:54 pm    Post subject: Reply with quote

Disciple

Joined: 27 Sep 2008
Posts: 171

I wanna use it. But considering the security problem, I am not sure if I could upload the exe to our jump machine. But thanks, anyway.
Back to top
View user's profile Send private message Send e-mail
exerk
PostPosted: Mon May 26, 2014 12:38 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

kun.leeing wrote:
Thanks guys a lot for helping here.

Quote:
Then ask the 'vendor' to use their DLQ handler to route it back to you, to a queue of your choice, without stripping the DLQH.

Thanks, Exerk, I don't know if runmqdlq fulfill this? or I have to ask them for coding a new one , like changing the sample fitting this?

All they need to do is define a QREMOTE, resolving to the queue of your choice, and put a temporary DLQ rule in to move it to that QREMOTE, but other suggestions here have more merit.
_________________
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
fjb_saper
PostPosted: Mon May 26, 2014 9:56 am    Post subject: Reply with quote

Grand High Poobah

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

kun.leeing wrote:
I wanna use it. But considering the security problem, I am not sure if I could upload the exe to our jump machine. But thanks, anyway.

This is why I mentioned also the client version. Obviously you have access to the qmgr data. So you should be able to browse the queue of your choice with RFHUtilc (client version).

As to receiving the information back from the vendor, any of my esteemed colleagues suggestion will do.

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » How can I get the message with DLQ header in remote qmgr?
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.