19.3. MQ tracing using GTF

You can obtain information about API calls and user parameters passed by some MQSeries calls on entry to, and exit from, MQSeries. To do this, you should use the global trace in conjunction with the MVS generalized trace facility (GTF).

You must start GTF if you want to use it for problem determination. Figure 19-2 provides and example of the GTF start procedure.

Figure 19-2. GTF procedure for WebSphere MQ
START GTF.procname,,,(MODE=INT) HASP100 GTF.procname ON STCINRDR HASP373 GTF.procname STARTED *01 AHL100A SPECIFY TRACE OPTIONS R 01,TRACE=JOBNAMEP,USRP TRACE=JOBNAMEP,USRP IEE600I REPLY TO 12 IS;TRACE=JOBNAMEP,USRP *02 ALH101A SPECIFY TRACE EVENT KEYWORDS - JOBNAME=,USR= R 02,JOBNAME=(ssidMSTR,ssidCHIN,jobname),USR=(5E9,5EA,5EB,5EE,F6C) ...

Get z/OS Diagnostic Data Collection and Analysis now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.