IBM Support

How do I display the status information for a TCP/IP component trace (ctrace) for all active procedures?

Question & Answer


Question

I need help displaying status information for a ctrace on TCP/IP.

Answer

To display information about the status of the component trace, issue the following command:

  DISPLAY TRACE,COMP=component_name,SUB=(procedure_jobname)

See this URL for more information about the component name:

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/F1A1C5B0/2.1.1.1.1?SHELF=F1A1BKD0&DT=20110609201034#SPTWQ256

This command displays information about the status of the component trace for one procedure. To display information about the status of the component trace for all active procedures, issue the following command:

  DISPLAY TRACE,COMP=component_name,SUBLEVEL,N=8


For the TCP/IP CTRACE components, do not be misled by the line in the middle of the display showing the MODE is OFF. This part of the display always says the MODE is OFF because TCP/IP uses the subtrace for all tracing. The subtrace for TCPCS2 indicates the actual state of the trace.

Use the DISPLAY command to check the external writer status. Include a sublevel.

      D TRACE,COMP=SYSTCPDA,SUB=(TCPCS2)
      IEE843I 11.33.06  TRACE DISPLAY 099
              SYSTEM STATUS INFORMATION
       ST=(ON,0064K,00064K) AS=ON  BR=OFF EX=ON  MT=(ON,064K)
        TRACENAME
        =========
        SYSTCPDA
                            MODE BUFFER HEAD SUBS
                            =====================
                            OFF         HEAD    2
           NO HEAD OPTIONS
        SUBTRACE            MODE BUFFER HEAD SUBS
       --------------------------------------------------------------
        TCPCS2              ON   0016M
           ASIDS      *NONE*
           JOBNAMES   *NONE*
           OPTIONS    MINIMUM
           WRITER     PTTCP

In the example shown above, the trace is active (MODE is ON) with an internal buffer size of 16 M, tracing all ASIDs and all JOBNAMES, using MINIMUM options, and using the external writer PTTCP. Another version of the DISPLAY TRACE command D TRACE,COMP=component_name,SUBLEVEL,N=8 shows all subtraces for the component.

Modifying the trace buffer size: To modify the amount of trace buffer in use for the SYSTCPIP, SYSTCPDA, SYSTCPIS and SYSTCPOT traces use the following command:

TRACE CT,nnnnM,COMP=component_name,SUB=(procedure_jobname)

where nnnnM is the new buffer size in mega bytes. The buffer size is subject to the minimum and maximum buffer size established for each component.

[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSSN3L","label":"z\/OS Communications Server"},"Platform":[{"code":"PF035","label":"z\/OS"}],"Component":"","Version":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Product Synonym

ZOSCS COMMSERVER

Document Information

Modified date:
16 June 2015

UID

dwa1196813