Information
Limited support BMC provides limited support for this version of the product. As a result, BMC no longer accepts comments in this space. If you encounter problems with the product version or the space, contact BMC Support.BMC recommends upgrading to the latest version of the product. To see documentation for that version, see BMC AMI Ops Monitor for Db2 13.1 image-2024-5-19_8-5-1.png .

Printing online history traces (thread data)


You can print online history traces and export online windows mode views for offline review.

In previous exercises, you learned how to run a trace and view it online. However, depending on the results, you might want to have a hardcopy for further analysis. Batch reports can also be valuable tools during an application review meeting.

Warning

Note

This section describes printing a trace, but you might also want to look at the accounting reports produced from Db2 trace records written to SMF, from MVDB2/DC archive data sets, or from Db2 tables loaded from one of these sources. For more information, see Performance-Reporter-reports.

To print online history traces

Enter the History traces (HT) view by typing HT on the COMMAND line.From the HT view you can view online trace data, and manage the trace log data sets.

Command

Description

W

Show the options used for this trace.

P

Generate the JCL to print a batch report.

D

Delete this data set from the trace directory.

E

Reset the log data set for reuse.

V

Verify that the directory entry matches the data set contents.

N

Add a new data set to the directory (moved from another system).

A

Archive the data set (only if an archive started task was specified).

F

Free a data set currently being read.

Usually you will need only W(SHOW), D(DELETE), and P(PRINT). You are going to concentrate now on P.

This section contains the following topics:


 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC AMI Ops Monitor for Db2 12.2