Starting a Communications Trace

This example starts a communications trace for IP Address 125.1.1.134 connected to AS/400 line AS400NT01:
 
STRCMNTRC  CFGOBJ(AS400NT01) CFGTYPE(*LIN) MAXSTG(6M) CMNTRCOPTS(*RMTIPADR) RMTIPADR('125.1.1.134')
 

Ending a Communications Trace

This example ends the communications trace above after tracing is complete:
 
ENDCMNTRC CFGOBJ(AS400NT01) CFGTYPE(*LIN) 
 

Printing Trace Data

This example prints trace data for PC IP Address 125.1.1.134 and AS/400 IP address 125.1.1.40:
 
PRTCMNTRC  CFGOBJ(AS400NT01) CFGTYPE(*LIN) OUTPUT(*PRINT) CODE(*ASCII) FMTTCP(*YES) TCPIPADR('125.1.1.40' '125.1.1.134') FMTETH(*YES)
 

Deleting a Communications Trace

This example deletes the communications trace above after tracing and reviewing the trace data are complete:
 
DLTCMNTRC CFGOBJ(AS400NT01) CFGTYPE(*LIN) 

Still have questions? We can help. Submit a case to Technical Support.

Last Modified On: December 10, 2016