TCP/IP and RESOLVER CTRACE

To perform a TCP/IP and RESOLVER CTRACE, use the following process:

  1. Start external writer:
    TRACE CT,WTRSTART=CTWTR1
  2. Start resolver CTRACE:
     TRACE CT,ON,COMP=SYSTCPRE,SUB=(resolverprocname) 
       R xx,WTR=CTWTR1,OPTIONS=(ALL),END
  3. Start TCPIP CTRACE:
    TRACE CT,ON,COMP=SYSTCPIP,SUB=(tcpipprocname)   
      R xx,WTR=CTWTR1,OPTIONS=(TCP,PFS,UDP),END
  4. Recreate the problem.
  5. Stop the traces:
    TRACE CT,ON,COMP=SYSTCPRE,SUB=(resolverprocname)   
      R xx,WTR=DISCONNECT,END  
    TRACE CT,OFF,COMP=SYSTCPRE,SUB=(resolverprocname)  
    TRACE CT,ON,COMP=SYSTCPIP,SUB=(tcpipprocname)   
      R xx,WTR=DISCONNECT,END  
    TRACE CT,OFF,COMP=SYSTCPIP,SUB=(tcpipprocname)  
    TRACE CT,WTRSTOP=CTWTR1,FLUSH