To enable the BAM internal trace facility for a data set that will
be accessed via BSAM, BPAM or QSAM, use any of the methods to start
the OPEN/CLOSE/EOV work area trace. If you start GTF with appropriate
options, you will get an OPEN/CLOSE/EOV work area trace. The BAM
internal trace does not require GTF.
To start BAM internal tracing, use one of these methods:
- Specify DCB=DIAGNS=TRACE on the DD statement of a data set for
which you wish to trace
- Specify the DALDIAGN text unit with dynamic allocation for a data
set for which you wish to trace
- Use the problem determination optional work area trace started
task, IFGOCETR. Refer to Non-VSAM problem determination work area trace started task for information
on the started task.
The BAM internal trace facility then operates on the data set or
data sets.