Collecting Audit data with a Db2 trace

To create an Audit report, you must collect data by using a Db2 trace.

The easiest way to collect data for any OMEGAMON for Db2 Performance Expert report is to use the activate traces facility of the workstation monitor. You can use this facility to configure a Db2 trace and start and stop the trace from there. Using the activate traces facility also ensures that you include all data in the Db2 trace that is needed for a report. For more information, see Monitoring Performance from Performance Expert Client.

Alternatively, you can start a Db2 trace as follows:

-START TRACE(AU) DEST(OPX) CLASS(1,2,3,4,5,6) BUFSIZE(512)
-START TRACE(P) DEST(OPX) CLASS(30) IFCID(24,55,83,87,105,107,169) BUFSIZE(512)