Author |
Message
|
Fannyfcwong |
Posted: Thu Jul 04, 2002 12:52 am Post subject: How to read a trace in OS/390? |
|
|
Novice
Joined: 04 Jul 2002 Posts: 13
|
Does anyone know how to read the trace when I have issued the command "cpf start trace(global)" in the console in OS/390 platform? Where is the trace stored at? I would like to read the execution trace not the statistics when a message is passing through from one end to the another end.
Thank you very much!! |
|
Back to top |
|
 |
mgrabinski |
Posted: Sun Jul 21, 2002 9:52 pm Post subject: MQ trace on OS/390 |
|
|
Master
Joined: 16 Oct 2001 Posts: 246 Location: Katowice, Poland
|
The trace is sent to SMF (records 115 and 116)
To ease reading of SMF records produced, you can use a Support Pack (I don't remember its number - please refer to support packs home page)
HTH _________________ Marcin Grabinski <>< |
|
Back to top |
|
 |
oz1ccg |
Posted: Sun Jul 21, 2002 10:50 pm Post subject: |
|
|
 Yatiri
Joined: 10 Feb 2002 Posts: 628 Location: Denmark
|
Hi, take a look on the problem determination guide.
If I rememember right, you have to start a GTF-trace task and when finished traceing, you can use IPCS to format the trace and see what happend in the differnt API's. (It produces a lot of data....) It's all in the Problemdetermination guide (I've used it.)
Just my $0.02  _________________ Regards, Jørgen
Home of BlockIP2, the last free MQ Security exit ver. 3.00
Cert. on WMQ, WBIMB, SWIFT. |
|
Back to top |
|
 |
Fannyfcwong |
Posted: Tue Aug 06, 2002 7:42 am Post subject: |
|
|
Novice
Joined: 04 Jul 2002 Posts: 13
|
Hi oz1ccg
Thank for your information.
I have read the Problem Determination Guide. However, I cannot start the GTF trace. The manual said using "START GTFxx.yy" to start the GTF. Can you tell me what xx and yy stands for and how I find it in my system. Is it a built-in facility in OS/390?
 |
|
Back to top |
|
 |
bob_buxton |
Posted: Wed Aug 07, 2002 12:32 am Post subject: |
|
|
 Master
Joined: 23 Aug 2001 Posts: 266 Location: England
|
Yes, GTF is a standard MVS service - see the MVS Diagnosis: Tools and Service aids manula for more details.
GTFxx is the name of the GTF procedure in SYS1.PROCLIB at your installation. yyyy is name of your choosing to identify your instance of GTF tracing. Note you need to issue the commands on an MVS console or through SDSF so you may need to ask your MVS sysprogs for authority.
Bob _________________ Bob Buxton
Ex-Websphere MQ Development |
|
Back to top |
|
 |
Fannyfcwong |
Posted: Sun Aug 11, 2002 2:18 am Post subject: |
|
|
Novice
Joined: 04 Jul 2002 Posts: 13
|
Can I use CSQSNAP to achieve the same thing instead of using GTF? From the Problem Determination Guide, it just state a case of using CLASS(4), can I use the other classes, say CLASS(2) or CLASS(3) as GTF does? |
|
Back to top |
|
 |
bob_buxton |
Posted: Sun Aug 11, 2002 11:44 pm Post subject: |
|
|
 Master
Joined: 23 Aug 2001 Posts: 266 Location: England
|
Not really, CSQSNAP is only used in certain error cases.
You cant request one when it suits you. _________________ Bob Buxton
Ex-Websphere MQ Development |
|
Back to top |
|
 |
oz1ccg |
Posted: Mon Aug 12, 2002 12:11 am Post subject: |
|
|
 Yatiri
Joined: 10 Feb 2002 Posts: 628 Location: Denmark
|
If you don't have a GTF procedure, you should take contack to your Z/OS system programmers and get it done. You can't live without (yes I know that many does..) it's the only way to find out what really went wrong.
You can see alle the areas like MQGMO, MQMD, MQOD, userdata etc.
The only disadvantage of using trace is the number of data produced by trace, and especially when it's formatted with IPCS. It's quite a job to keep track of the data in a highly utilized system. You should try it when you got the time, and not wait until you have to because of a problem. (IBM can request these traces.)
Just my $0.02  _________________ Regards, Jørgen
Home of BlockIP2, the last free MQ Security exit ver. 3.00
Cert. on WMQ, WBIMB, SWIFT. |
|
Back to top |
|
 |
|