17.2. PKTTRACE parms

There are 2 ways to add parms to the SYSTCPDA CTRACE (PKTTRACE). The first way will AND the parms together and the second way will OR the parms together, as follows:

  • V TCPIP,tcpipproc,PKT,SRCP=21,DEST=1236

    In this example only packets with source port=21 and destination port=1236 will be traced.

  • V TCPIP,tcpipproc,PKT,SRCP=21

    V TCPIP,tcpipproc,PKT,DEST=1236 *note 2 VARY commands*

    In this example packets with a source port=21, regardless of dest port, *and* packets with dest port=1236, regardless of source port will be traced.

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.