Posted: Thu Oct 24, 2002 10:10 pm Post subject: Trace enabling in C++
Novice
Joined: 04 Jul 2002 Posts: 11
Hi,
Is it possible to enable the MQ Trace through MQ API's given in C++.
If any of could provide how to investigate problems from the trace is also great help.
Joined: 16 May 2001 Posts: 668 Location: Switzerland
Hi,
There is NO documented API to enable the MQ trace. The only way I could suggest is via. a system call "(strmqtrc -m <qmgr>" or whatever the syntax is).
A WORD OF CAUTION
===============
You can fill up disks pretty quickly with an MQ trace, so I wouldn't run it for long. And, a little quirk we found, you can do an "endmqtrc" but some processes still keep the trace file open (but not writing to it) which is annoying when you want to move or copy it.
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