404 IBM Content Manager OnDemand Guide
In ODWEK V8.5.0.0 and later, the trace file is written in binary. To convert the trace file from 
its binary format, use the arstfmt command that is in the bin directory of your Content 
Manager OnDemand server (version 8.5 and later). The following sample command shows 
how to convert the ODWEK trace file:
/usr/lpp/ars/v9.5/bin/arstfmt -i arswww.trace -o arswww.trace.txt
Tracing can be set to different levels with the trace parameter. When you troubleshoot an 
ODWEK issue, set the trace level to the highest level, unless you are instructed otherwise by 
IBM Support.
Setting the trace at lower levels, such as Trace=1, creates a minimal impact while it alerts you 
only about error conditions. Setting the lower trace levels are ideal for monitoring an ODWEK 
application that is in a steady state. Higher levels are used for troubleshooting an ODWEK 
issue.
18.4.4  TCP/IP packet trace
If a problem exists with TCP/IP , a TCP/IP packet trace might be helpful in troubleshooting. 
Example 18-5 show a procedure for tracing to an external writer.
Example 18-5   Sample writer procedure
//CTWTR1 PROC 
//IEFPROC  EXEC PGM=ITTTRCWR 
//TRCOUT01 DD DSNAME=SYS1.CTRACE1,VOL=SER=xxxxxx, 
//         UNIT=xxxxx,SPACE=(CYL,(100),,CONTIG), 
//         DISP=(NEW,CATLG) 
//SYSPRINT DD SYSOUT=* 
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) 
6. Run your recreation scenario.