JCL for external CTRACE Writer
SYS1.PROCLIB(PKTWRT)
//PKTWRT PROC
//*************************************************************** //** THIS PROCEDURE IS THE IPCS CTRACE EXTERNAL WRITER PROCEDURE
//** USED BY TCP/IP DATA TRACING
//***************************************************************
//IEFPROC EXEC PGM=ITTTRCWR
//TRCOUT01 DD DSN=TCPIP.PKT,UNIT=SYSALLDA,
// SPACE=(CYL,50),DISP=(NEW,CATLG),DSORG=PS
1) Start the writer for the packet trace. TRACE CT,WTRSTART=PKTWRT
2) Clear the previous packet trace settings.
V TCPIP,tcpproc,PKTTRACE,CLEAR
3) Prepare the packet trace. V TCPIP,tcpproc,PKTTRACE,DESTPORT=80
4) Start the packet trace, connect the writer. TRACE CT,ON,COMP=SYSTCPDA,SUB=(tcpproc)
R xx,WTR=PKTWRT,END 5) *** Recreate the problem ***
6) Stop the packet trace. TRACE CT,OFF,COMP=SYSTCPDA,SUB=(tcpproc)
7) Stop the packet trace writer. TRACE CT,WRTSTOP=PKTWRT
|