To enable CTRACE
CTRACE collects trace data from your server. For packet tracing to work, you need to create source JCL that invokes a CTRACE external writer. The external writer is used to write trace data to a data set each time packet tracing is used.
The external writer must use only single data sets for recording trace data. This is because CA NetMaster NM for TCP/IP reads only one trace data set.
To create an external writer
//PTTCP PROC //* //* CTRACE External writer for TCP/IP Packet Tracing //* //IEPROC EXEC PGM=ITTTRCWR,TIME=1440 //* //*TRCOUT01 DD DSN=TCPIP.PTRACE.PTRACE,DISP=OLD // //TRCOUT01 DD DSN=TCPIP.PTTRACE.PTRACE,DISP=(NEW,CATLG), // VOL=SER=????,UNIT=SYSDA,DSORG=PS, // SPACE=(4096,(100,10))
PTTCP is the name of the external writer. You can change this to suit your installation; it must be between one and seven characters long.
Do one of the following:
After the trace data set is allocated, do one of the following:
TRACE CT,WTRSTART=PTTCP,NOWRAP
where:
For more information, see the IBM's MVS Diagnosis: Tools and Service Aids guide.
To verify the setup, you must start a CTRACE trace.
To start a trace
The CTRACE Packet Tracing Menu appears.
The Start CTRACE panel appears.
Specifies the command to use to start CTRACE.
The trace starts.
To stop a trace
The CTRACE Packet Tracing Menu appears.
The Confirm Trace Stop panel appears.
The trace stops.
Copyright © 2012 CA. All rights reserved. |
|