text: To obtain a TCP/IP packet trace, complete the following steps: 
  
  1. Start your CTRACE external writer procedure by running the following command: 
  
  TRACE CT,WTRSTART=CTWTR1 
  
  2. Start and connect a packet component trace to your writer procedure by running the 
  following command: 
  
  TRACE CT,ON,COMP=SYSTCPDA,SUB=(TCPIP_Proc) 
  reply,WTR=CTWTR1,END 
  
  3. Start and connect a SYSTCPIP component trace to your writer procedure by running the 
  following command: 
  
  TRACE CT,ON,COMP=SYSTCPIP,SUB=(TCPIP_Proc) 
  reply,WTR=CTWTR1,JOBNAME=(RM_Jobname) 
  reply,WTR=CTWTR1,OPTIONS=(socket,pfs,tcp,sockapi),END 
  
  4. Check whether the component trace is ready to gather data by running the following 
  command: 
  
  D TRACE,WTR=CTWTR1 
  
  The display must show a status of ACTIVE. 
  
  5. Set packet trace filters by running the following command: 
  
   V TCPIP,TCPIP_Proc,PKT,clear # resets filters to none 
   V TCPIP,TCPIP_Proc,PKT,ON,ip=10.253.0.35 (client IP address) 