Chapter 18. Troubleshooting and tracing 403
18.4.2  MidServer trace (z/OS only)
To collect data that processed by the MidServer, complete the following steps:
1. Locate the MidServer arsMSVR.cfg configuration file. The file is in the following directory:
/MountPoint/config/midserver
2. Turn on MidServer tracing by setting MIDSERVERTRACE=1.
To collect the input data that is returned to the application, set traceLevel to 2 before you 
issue the logon function request. This traceLevel indicates that a full trace by the C stub is 
requested.
3. Run the application to re-create the problem.
4. Send the following files to IBM Support for further analysis. All of these files that are sent 
must be from the same test.
File name Location
arswww.ini /MountPoint/config/midserver
arswww.traceAs specified in the arswww.ini TraceDir= file
arsMSVR.err STDERR path in the MidServer start procedure
arsMSVR.out STDOUT path in the MidServer start procedure
MVS job output SDSF arsMVSR job
18.4.3  ODWEK trace
Sometimes, it is necessary to collect data for IBM Content Manager OnDemand Web 
Enablement Kit (ODWEK). Gather this information to assist with the troubleshooting process 
before you contact IBM Support.
Remember that IBM Support cannot debug custom application code. The purpose of this 
information is to collect diagnostic test results to help identify a possible problem in ODWEK 
and provide additional documentation to IBM Support. This information is in IBM Technote 
1240220:
http://www.ibm.com/support/docview.wss?uid=swg21240220
By using the ODConfig class, you can set the trace as shown in Example 18-4.
Example 18-4   Setting up trace in the ODConfig class
OConfig cfg = new ODConfig(
        /*AfpViewer*/           ODConstant.PLUGIN,
        /*LineViewer*/          ODConstant.APPLET,
        /*MetaViewer default*/  null,
        /*MaxHits*/             500,
        /*AppletDir*/           "/applets",
        /*Language*/            "ENU",
        /*TempDir*/             "c:\\temp",
        /*TraceDir*/            "c:\\path\\to\\trace",
        /*TraceLevel*/          4);
Y our ODWEK application must be recompiled and restarted for the changes to take effect. 
After you enable tracing, re-create the issue and send all arswww.trace* files to IBM Support.