Global trace data sent to the resident trace table is always
included in the non-summary dump data set of SVC dumps that are issued
by Db2.
About this task
The following information describes how to locate this
unformatted table by using control blocks that are published in the
unformatted summary dump section.
Figure 1. Finding the unformatted trace table
Procedure
To find the unformatted global trace table:
Locate the EBRMVT field at offset X'20' in the
failing EB. This field contains the address of the RMVT.
The
failing EB's address is at offset X'30' in the SDWA and is
listed under Key 14 of the VRA Diagnostic Information Report.
Find the address of the RMFT (resource manager function
table) at offset X'60' in the RMVT. The 17th RMVTRMFT element
in the RMVT is at this offset.
Locate the RMFTRUSE field at offset X'0C' in the
RMFT. This field contains the address of the trace anchor block (TAB).
If the high-order bit of this word is on, then the trace is active.
Locate the TAB and these fields
TABTABLE
At offset X'0C' in the TAB and contains the address of
the beginning of the trace table.
TABOTTOM
At offset X'14' in the TAB and contains the address of
the end of the trace table.
TABSLOT
At offset X'18' in the TAB contains the address of the
oldest (next available) entry in the trace table. This address changes
as the table wraps.