To start and stop tracing of internal DBCTL events dynamically, and define activities to be monitored by the IMS™ monitor, use the /TRACE command, as follows:
Use the CICS-supplied transaction CETR to trace DL/I activity. For DBCTL, CETR traces a DL/I request until it leaves DFHDBAT. (See CICS® Supplied Transactions for help on using CETR.)
See Trace entries produced by DBCTL for information on obtaining DBCTL trace entries. See the IMS Operator’s Reference manual for guidance on the syntax of /TRACE commands and keywords, and the IMS System Administration Guide or the IMS Administration Guide: System for guidance on the effects using /TRACE commands can have on your system.