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 » Where to find output of MQ trace on z/OS

Post new topic  Reply to topic
 Where to find output of MQ trace on z/OS « View previous topic :: View next topic » 
Author Message
sailor
PostPosted: Tue Mar 29, 2005 11:36 pm    Post subject: Where to find output of MQ trace on z/OS Reply with quote

Novice

Joined: 25 Mar 2003
Posts: 15
Location: Germany

Unfortunately I cannot find the output of a MQ-trace I started.
The trace seems to work properly:

CSQW127I WMR1 CURRENT TRACE ACTIVITY IS -
TNO TYPE CLASS DEST USERID RMID
01 GLOBAL * RES * *

The documentation says "RES A wrap-around table residing in the ECSA, or a data space for RMID 231".
Is it a dataset or where can I find more about it?

I'm grateful for any hint.
Back to top
View user's profile Send private message
bob_buxton
PostPosted: Wed Mar 30, 2005 1:15 am    Post subject: Reply with quote

Master

Joined: 23 Aug 2001
Posts: 266
Location: England

Unlike MQ on some other platforms MQ on zOS does not produce a human readable trace directly. You must format the trace output before it is viewable.

When trace is sent to the instorage buffer it is viewable in a system dump using the MQ dump formatter under IPCS.

When trace is sent to GTF it is collected by the the OS trace facility (which can merge it with trace from other components such as CICS). GTF traces can also be formatted by IPCS and contain more information than the instorage trace buffers.

There is a chapter on using trace in the 'WebSphere MQ for z/OS Problem Determination Guide' and the zOS Diagnosis Tools and Service Aids book.

Having said that what use do you expect to make from the trace data?
While the data can be very valuable in problem diagnosis it can be be very hard to interpret even for those who have access to the internal details of the product.
_________________
Bob Buxton
Ex-Websphere MQ Development
Back to top
View user's profile Send private message
sailor
PostPosted: Wed Mar 30, 2005 1:48 am    Post subject: Reply with quote

Novice

Joined: 25 Mar 2003
Posts: 15
Location: Germany

Thanks for your quick reply.

In fact I don't expect that the trace output will be very useful.

The developers of an IMS application (other company) want me to set up this trace because an IMS region hosting PUT transactions dumps soon after it is started.
I don't know if they will be able to interpret the information but since they asked me I would like to send them the requested output.

Besides using IPCS (which I haven't used yet) is it possible to put the trace into a dataset?
If I got it right the Destination for the trace should be GTF instead of RES?
Back to top
View user's profile Send private message
bob_buxton
PostPosted: Wed Mar 30, 2005 3:10 am    Post subject: Reply with quote

Master

Joined: 23 Aug 2001
Posts: 266
Location: England

GTF puts the unformatted trace data into a data set which you could send to the other company and allow them to format it, or you could redirect the formatted output to a data set (likely to be quite large).

You will probably need to talk to the Sysprogs at your company to start and stop GTF tracing since access is often controlled (sensitive data could be in trace records).
_________________
Bob Buxton
Ex-Websphere MQ Development
Back to top
View user's profile Send private message
javagate
PostPosted: Wed Mar 30, 2005 4:35 am    Post subject: Reply with quote

Disciple

Joined: 15 Nov 2004
Posts: 159

The GTF trace itself can go into a data set.

Once you have the GTF trace JCL/Proc, trace options set up.

Start your GTF Trace S GTFMQS.XX

Start the trace in MQ +SSID START TRACE(GLOBAL) DEST(GTF)

produce the error

Stop the MQ trace +SSID STOP TRACE GLOBAL

Stop the GTF Trace STOP XX

You should be able to use this as a sample to print the GTF trace.

//TSOBEXP EXEC PGM=IKJEFT01,DYNAMNBR=30
//STEPLIB DD DISP=SHR,DSN=SCSQAUTH
//IPCSPARM DD DISP=SHR,DSN=SYS1.PARMLIB
//SYSTSPRT DD SYSOUT=*,DCB=(LRECL=137)
//IPCSTOC DD SYSOUT=*
//GTFIN DD DISP=OLD,DSN=GTF DATA SET
//*
//SYSOUT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSTSPRT DD SYSOUT=*
//SYSPROC DD DSN=SYS1.CLIST,DISP=SHR
// DD DSN=SYS1.SBLSCLI0,DISP=SHR
//*
//SYSTSIN DD *
IPCS
SETDEF FILE(GTFIN) NOCONFIRM
GTFTRACE USR(5E9,5EA,5EE) <---- NOTE
END
/*


Otherwise you can format with the IPCS panels.

Your GTF SYSLIB parms should be something link this.

TRACE=USRP,JOBNAMEP
JOBNAME=(SSIDMSTR,SSIDCHIN,IMS)
USR=(5E9,5EA,5EB,5EE)
END


May I ask? What do you mean by
"IMS region hosting PUT transactions dumps soon after it is started"?
Can you supply some more information?
_________________
WebSphere Application Server 7.0 z/OS &
MQ 6.0. I work with WebSphere in the real world not in some IBM lab.
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 » Where to find output of MQ trace on z/OS
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.