17.3. Tracing to the external writer
To have packet trace or CTRACE data written to an external writer data set, a writer proc first needs to be created. This procedure must either be in SYS1.PROCLIB or in a library concatenated in the master JCL. The following is a sample of the writer procedure:
//CTWTR1 PROC //IEFPROC EXEC PGM=ITTTRCWR //TRCOUT01 DD DSNAME=IBMUSER.CTRACE1,VOL=SER=xxxxxx, // UNIT=xxxxx,SPACE=(CYL,(xxx),,CONTIG), // DISP=(NEW,CATLG) //SYSPRINT DD SYSOUT=*
17.3.1. Starting an external writer
If you do not want to have traces written internally to the TCPIP dataspace (TCPIPDS1) you can start the external writer to the CTRACE component. This writer can be used for multiple components, for instance packet trace (SYSTCPDA) and ...
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.