Formatting packet traces using IPCS
The IPCS CTRACE command parameters are described in Formatting component traces. The following notes apply to the
IPCS CTRACE parameters about the packet trace formatter:
- JOBLIST, JOBNAME
- The LINKNAME and JOBNAME keywords in the OPTIONS string can also be used to select records.
- TALLY
- Equivalent to the STATISTICS(DETAIL) option.
- START and STOP
- Packets are numbered after the START keyword has filtered records.
- LIMIT
- See the RECORDS keyword in the OPTIONS string.
- USEREXIT
- The packet trace formatter calls the CTRACE USEREXIT before testing the records with the filtering criteria. If it returns a nonzero return code, then the record is skipped. The USEREXIT can also be used in the OPTIONS string. It is called after the record has met all the filtering criteria in the OPTIONS string.
- COMP
- Must be SYSTCPDA.
- SUB
- The SUB must name the TCP/IP procedure that created the CTRACE records when the input is a dump data set.
- EXCEPTION
- Since there are no EXCEPTION records for packet trace, the EXCEPTION keyword must not be specified.
- ENTIDLIST
- The following are the valid values for packet trace:
- 1
- IPv4 packet trace records
- 2
- X25 trace records
- 3
- IPv4 Enterprise Extender data trace recordsTip: Type 1, Type 2, and Type 3 records are no longer written by TCP/IP.
- 4
- IPv4 and IPv6 packet trace records
- 5
- IPv4 and IPv6 data trace records
- 6
- Enterprise Extender trace records
The CTRACE OPTIONS string provides a means of entering additional keywords for record selection and formatting packet traces (COMP=SYSTCPDA). See Syntax for the complete syntax of CTRACE.