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 » WebSphere Message Broker (ACE) Support » How to get every instruction executed in a compute node

Post new topic  Reply to topic
 How to get every instruction executed in a compute node « View previous topic :: View next topic » 
Author Message
tbt102
PostPosted: Thu Jul 10, 2003 10:07 am    Post subject: How to get every instruction executed in a compute node Reply with quote

Apprentice

Joined: 21 Apr 2003
Posts: 28

Hi all,

I'm using a trace node in my flow and trying to get every instruction executed in a particular compute node into my trace log.

Currently it looks like n number lines is being rolled off the trace file after so many lines are written.

Can someone help me get every instruction executed in a compute node in the log.

flow snip
TraceNode1 ==> CompoutNode ===> TraceNode2

TraceNode1 and 2
${Root}

Clean up log.bat
mqsichangetrace WMQI -u -e default -r -l debug
del Debug_log.txt
del Debug_out.txt

Get log.bat
mqsireadlog WMQI -u -e default -f -o Debug_LOG.txt
mqsiformatlog -i Debug_LOG.txt -o Debug_OUT.txt
"C:\Program Files\UltraEdit\UEDIT32.EXE" Debug_OUT.txt


Thanks in advance for any help.
Back to top
View user's profile Send private message
inder
PostPosted: Thu Jul 10, 2003 10:33 am    Post subject: Reply with quote

Apprentice

Joined: 24 Mar 2003
Posts: 49
Location: USA

HI,
I use the Two batch files to do the job for me.
traceon.bat:
mqsichangetrace WMQI -u -e %1 -l debug -r

traceoff.bat:
mqsichangetrace WMQI-u -e %1 -l none
mqsireadlog WMQI -u -e %1 -o trace.xml
mqsiformatlog -i trace.xml -o trace.txt

So I give the execution group as the parameter for both batch files
->traceon execution_group_name
put the message in the input queue wait for the time it takes to process the message
->traceoff execution_group_name

Finally I Use the Textpad for viewing the log. I will get every instruction executed in the compute node in the trace file (Trace.txt).

Hope this helps
regards
Inder
Back to top
View user's profile Send private message
EddieA
PostPosted: Thu Jul 10, 2003 11:34 am    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

You can use the -c option to increase the size of the trace file up to a max of 2Gig. But it is still a wrap-around file.

Take a look at the Admin Guide for mqsichangetrace because there are restrictions based on how you use mqsireadlog.

Cheers,\
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
tbt102
PostPosted: Sun Jul 13, 2003 2:46 am    Post subject: Reply with quote

Apprentice

Joined: 21 Apr 2003
Posts: 28

I have implemented both and got the desired results. Thanks
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 » WebSphere Message Broker (ACE) Support » How to get every instruction executed in a compute node
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.