Author |
Message
|
codered |
Posted: Tue Apr 22, 2014 6:02 pm Post subject: Capturing the Message content using mqsichangetrace |
|
|
Novice
Joined: 09 Feb 2014 Posts: 13
|
Can we trace the messges which are placed into the queues and processed at nodes used mqsichangetrace rather than trace nodes?
I have tested this scenario, by deploying a basic MQINPUT--->MQOUTPUT Node flow to execution group and started user trace for it. I have placed a Message on the inputqueue and it moved to output queue.
stopped the tracing and using mqsireadlog and mqsiformatlog to generated the text file but nothing is being shown about the message in it.
I have used
mqsichangetrace BROKERNAME -u -e EGname -f Flowname -l debug
din't find information about message capturing using mqsichangetrce.
So Can I rule out the option that, message can't be captured throught mqchichangetrace while processing? am i missing anything?
We need to use only trace nodes to do that. |
|
Back to top |
|
 |
smdavies99 |
Posted: Tue Apr 22, 2014 10:32 pm Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
You can capture the message details with a trace node AND Usertrace provided the output is set to Usertrace.
There are plenty of examples of the commands needed to START and then once the message has been passed through your flow to STOP and then to FORMAT the trace output in this forum as well as the documentation.
read up on the
mqsichangetrace
mqsireadlog
mqsiformatlog
commands _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
kimbert |
Posted: Wed Apr 23, 2014 1:47 am Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
Are you trying to use mqsichangetrace to perform logging in a production system? _________________ Before you criticize someone, walk a mile in their shoes. That way you're a mile away, and you have their shoes too. |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Apr 23, 2014 3:12 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
|
Back to top |
|
 |
codered |
Posted: Wed Apr 23, 2014 4:57 pm Post subject: |
|
|
Novice
Joined: 09 Feb 2014 Posts: 13
|
Not trying to log the information in the production environment.
Simulating a production issue in Dev. I actually have to trace a message in the flow and how its changing.
1. I am restricted to do the deployment of new bar files(so no scope of adding trace nodes)
2. No Debugging option is provided to me.
3. External systems involved are queues and dtabases...
so wanted to check this option as well,, if Broker captures the Message content as well or not.
we are on MB V7. |
|
Back to top |
|
 |
Esa |
Posted: Wed Apr 23, 2014 11:09 pm Post subject: |
|
|
 Grand Master
Joined: 22 May 2008 Posts: 1387 Location: Finland
|
On version 7 you can already write your own monitoring profile to capture the root message when it's propagated to selected node terminals of your flow. |
|
Back to top |
|
 |
kimbert |
Posted: Thu Apr 24, 2014 12:18 am Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
If you describe the symptoms then someone on this forum may be able to suggest a good way to diagnose the problem. _________________ Before you criticize someone, walk a mile in their shoes. That way you're a mile away, and you have their shoes too. |
|
Back to top |
|
 |
|