Trace entries produced by DBCTL
In DBCTL, tracing is started by specifying an option in member DFSVSMxx in the IMS.PROCLIB (where xx is the suffix specified by VSPEC= in the DBCTL startup JCL).
See System definition in IMS product documentation for guidance on the DFSVSMxx member. Alternatively, you can start tracing dynamically with the /TRACE command. (See Operations and automation in IMS product documentation for guidance on the /TRACE command and its keywords.)
/TRACE SET ON PIDBCTL produces an external trace when DL/I requests are issued to be processed by DBCTL. This trace corresponds to the CICS® trace for a DL/I request being processed by DBCTL, as shown in Figure 1. (DBCTL does not produce any external traces that correspond with the other CICS trace examples given.)
/TRACE SET ON TABLE DL/I For a more detailed example, see Operations and automation in IMS product documentation, example 8. - X'AC': the database call analyzer entry, which is only present for DBCTL.
- The partition specification table (PST) number. The PST number is equivalent to a particular DL/I thread number, as displayed using the /DISPLAY command, and can be used to find all DBCTL trace records for a particular thread. (For an example of a thread number being displayed, see Purging a transaction that is using DBCTL.)
- The trace sequence number.
- An
eyecatcher
recovery token. This is the actual charactersRTKN
, used to draw attention to the recovery token in the same line, and is the same in every X'AC' entry. - The recovery token that is passed from CICS via DFHDBAT.
You can print and format this data using the IMS file select and formatting print utility, DFSERA10. You would typically print and format several log types, plus the X'AC' records to enable you to correlate the DBCTL activity with your CICS trace for a DL/I request.