Online environment
In a DB/DC, DCCTL, or DBCTL environment, you start and terminate DL/I call image capture by issuing the /TRACE command from the master terminal (DB/DC and DCCTL only) or from the system console.
For example, to trace full-function database calls for a named PSB and send the output to an external data set, issue the following command:
/TRACE SET ON PSB psbname OPTION LOG