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 » Tracing the messages

Post new topic  Reply to topic
 Tracing the messages « View previous topic :: View next topic » 
Author Message
mreddington
PostPosted: Tue Nov 21, 2006 6:13 am    Post subject: Tracing the messages Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Tue Nov 21, 2006 6:20 am    Post subject: Reply with quote

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
View user's profile Send private message
wschutz
PostPosted: Tue Nov 21, 2006 7:49 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

and start with "dspmqrte" ....
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
mreddington
PostPosted: Tue Nov 21, 2006 8:14 am    Post subject: dspmqrte Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Tue Nov 21, 2006 8:16 am    Post subject: Reply with quote

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
View user's profile Send private message
wschutz
PostPosted: Tue Nov 21, 2006 12:43 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail AIM Address
jefflowrey
PostPosted: Tue Nov 21, 2006 4:05 pm    Post subject: Reply with quote

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
View user's profile Send private message
nce
PostPosted: Tue Nov 28, 2006 10:17 pm    Post subject: Reply with quote

Newbie

Joined: 12 Jan 2006
Posts: 6
Location: Belgium

And in 5.3 ??????
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Nov 29, 2006 12:39 am    Post subject: Reply with quote

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
View user's profile Send private message
Michael Dag
PostPosted: Wed Nov 29, 2006 3:20 am    Post subject: Re: Tracing the messages Reply with quote

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
View user's profile Send private message Visit poster's website MSN Messenger
jefflowrey
PostPosted: Wed Nov 29, 2006 3:31 am    Post subject: Reply with quote

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
View user's profile Send private message
Michael Dag
PostPosted: Wed Nov 29, 2006 3:39 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website MSN Messenger
jefflowrey
PostPosted: Wed Nov 29, 2006 4:32 am    Post subject: Reply with quote

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
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 » Tracing the messages
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.