The trace record types that may be created when the BAM internal
trace facility is active are:
- ENTRY records that describe an entry into a module (CSECT)
- EXIT records that describe an exit from a module (CSECT)
- Numbered records, from 1 to 8, that describe optional trace records
inserted by IBM service to gather additional diagnostic information.
The content of the trace records is as follows:
- All trace records contain the timestamp to indicate the record's
time of creation.
- All trace records running under a TCB contain the TCB address,
extracted from PSATOLD.
- All trace records running under an SRB contain zeros instead of
a TCB address. This value is extracted from PSATOLD.
- All trace records contain the CSECT name, for example, IGG019V8,
IGG019V9, and so on.
- All trace records contain the type identifier, for example, ENTRY
or EXIT.
- All trace type ENTRY records contain the caller's return address.
Other trace types may contain optional data.
The following example shows EXIT and ENTRY type trace records:
TRACE: TIME TCB RET/DATA CSECT TYPE
17:34:54.882497 009E68C8 00009F28 IGG019BB EXIT
17:34:54.880990 009E68C8 00009F28 IGG019BA EXIT
17:34:54.880990 009E68C8 50020D42 IGG019BB ENTRY