Purpose
Records the XML Extender server activity. To start the trace, apply the on option to dxxtrc, along with the name of the directory that contains the trace file. When the trace is turned on, the file dxxINSTANCE.trc is placed in the specified directory. INSTANCE is the value of DB2INSTANCE. Each DB2 instance has its own log file.
Format
Starting the trace |
---|
>>-dxxtrc--on--trace_directory--------------------------------->< |
Parameters
Parameter | Description |
---|---|
trace_directory | Name of the directory where the dxxINSTANCE.trc is placed. Because the trace is DB2-instance based, the directory should be placed under the SQLLIB of the DB2 instance. |
Examples
This example shows that the trace facility is turned on when using the database SALES_DB on the AIX system. Because the DB2INSTANCE is db2inst1, the trace file dxxdb2inst1.trc is placed in the directory /home/db2inst1/sqllib/log.
dxxtrc on /home/db2inst1/sqllib/log