Author |
Message
|
mreddington |
Posted: Tue Nov 21, 2006 6:13 am Post subject: Tracing the messages |
|
|
Voyager
Joined: 14 Aug 2006 Posts: 78
|
Hi all,
1. Is there a way to trace messages from the source queue manager to the destination manager, by the MQ administrator?
2. What are the conditions to do the trace?
3. Is there a way that i can capture the trace result into a file?
4. What is the syntax to do a trace?
I appreciate your reply.
Thank you all. |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Nov 21, 2006 6:20 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
In version 6 of WMQ, yes.
You will find all the information you need in the MQ Info Center. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
wschutz |
Posted: Tue Nov 21, 2006 7:49 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
and start with "dspmqrte" ....  _________________ -wayne |
|
Back to top |
|
 |
mreddington |
Posted: Tue Nov 21, 2006 8:14 am Post subject: dspmqrte |
|
|
Voyager
Joined: 14 Aug 2006 Posts: 78
|
Thank you for your reply guys. How can this command "dspmqrte" be used? Is there anything which i need to know before using this command?
I don't want to mess up anything in my current environment before doing that. Please adivse...
Thank you |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Nov 21, 2006 8:16 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Go to the MQ Info Center.
Put "dsmpqtre" into the "search" box.
Read. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
wschutz |
Posted: Tue Nov 21, 2006 12:43 pm Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
jefflowrey wrote: |
Go to the MQ Info Center.
Put "dsmpqtre" into the "search" box.
Read. |
well... I'd try "dspmqrte"  _________________ -wayne |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Nov 21, 2006 4:05 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
wschutz wrote: |
jefflowrey wrote: |
Go to the MQ Info Center.
Put "dsmpqtre" into the "search" box.
Read. |
well... I'd try "dspmqrte"  |
I suppose you'd even be correct, then, too. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
nce |
Posted: Tue Nov 28, 2006 10:17 pm Post subject: |
|
|
 Newbie
Joined: 12 Jan 2006 Posts: 6 Location: Belgium
|
And in 5.3 ??????  |
|
Back to top |
|
 |
Vitor |
Posted: Wed Nov 29, 2006 12:39 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
nce wrote: |
And in 5.3 ??????  |
Uprade to v6.
Follow the steps above.
AFAIK it's new for v6. Prior to that you have to roll your own....
(IMHO upgrading would be faster, more likely to work and less likely to drive you insane) _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
Michael Dag |
Posted: Wed Nov 29, 2006 3:20 am Post subject: Re: Tracing the messages |
|
|
 Jedi Knight
Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam)
|
mreddington wrote: |
Hi all,
1. Is there a way to trace messages from the source queue manager to the destination manager, by the MQ administrator?
|
AFAIK dspmqrte traces the route, NOT the actual messages! _________________ Michael
MQSystems Facebook page |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Nov 29, 2006 3:31 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Right, dspmqrte does trace the route.
It does this by sending messages that get traced. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
Michael Dag |
Posted: Wed Nov 29, 2006 3:39 am Post subject: |
|
|
 Jedi Knight
Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam)
|
jefflowrey wrote: |
Right, dspmqrte does trace the route.
It does this by sending messages that get traced. |
sure, but it doesn't answer the question from an application which sent message A to X , where is message A now?
for that you need something like transaction vision or similar products. _________________ Michael
MQSystems Facebook page |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Nov 29, 2006 4:32 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
MichaelDag wrote: |
sure, but it doesn't answer the question from an application which sent message A to X , where is message A now?
for that you need something like transaction vision or similar products. |
Or to code your programs to meet the non-fuctional requirement of having all messages be traceable, and use the same provisions that dspmqrte uses to send messages that get traced.
Otherwise, yes, in v5.3 you need to distribute an API exit to all your queue managers, and have that API exit report on all message activity to a centralized data repository. TransactionVision is one such product that does that.
The better alternative to either of these, though, is to ensure that applications provide sufficient logging of what messages they send where, and have that information loaded into a centralized repository. MQ is deterministic about where messages go, and so if you know exactly how the message was addressed, you know how to find your message.
Transaction Logging is also a useful feature to implement in an Enterprise Service Bus - in part because you can implement it relatively simply in a single place rather than having to distribute the workload. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
|