Capturing the trace

If you use only the internal buffer, you must obtain a dump of TCP/IP to view the CTRACE records. It is usually a good idea to also capture the application address space. For example, using the MVS™ DUMP command, type the following commands.

Tip: The SDATA options specified are appended to other options.
The SDATA options shown here are the generally recommended options.
DUMP COMM=(Sample dump for SOCKAPI)
R n,JOBNAME=(tcpiproc,ezasokjs),CONT 
R n,SDATA=(ALLNUC,CSA,LPA,LSQA,RGN,SWA,SQA,TRT),CONT 
R n,END 
Notes:
  • You can type the first three commands in advance, and you can then just type the fourth command at the correct moment to capture the events.
  • If you use the external writer, External writer, explains how to capture the trace in a data set.