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 » setting mqsichangetrace from a trace node

Post new topic  Reply to topic
 setting mqsichangetrace from a trace node « View previous topic :: View next topic » 
Author Message
kumarp
PostPosted: Tue Jul 08, 2003 7:23 am    Post subject: setting mqsichangetrace from a trace node Reply with quote

Novice

Joined: 20 May 2003
Posts: 23

Hi,
I am writing a simple Integrator application, and I have a trace node that gets written to only if there is an error when processing a message in my flow. I have the trace node connected to the catch terminal of my input node. Is there a way to set a mqsichangetrace to only be on if an error is encountered? I would like to get the useful output from a user trace into the file written by my trace log, but i do not always want the trace to be on for performance reasons.

Any thoughts would be useful.

Thanks!
Back to top
View user's profile Send private message
Craig B
PostPosted: Tue Jul 08, 2003 8:04 am    Post subject: Reply with quote

Partisan

Joined: 18 Jun 2003
Posts: 316
Location: UK

It is not possible to invoke the mqsichangetrace command from a trace node. It is possible to set the trace node so that it writes information to the local error log and if other external monitor products are used then these messages can be used to trigger other applications in the system.

However, from your description it would seem that if you get an error, you want to capture a user trace of the error. But if you do this based on an error that has just occured then if you do find a way of switching tracing on, you will not capture the error in the user trace. The user trace will run from the time you switch it on, and if the error has already occured, then it wont be in the trace time frame.

When catching errors yourself, then an ExceptionList is generated which contains details of the error that has occurred. This can be queried directly in the flow, and written out in a trace node to give details of the error that has occured.
_________________
Regards
Craig
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 » setting mqsichangetrace from a trace 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.