Batch environment
In a batch environment, you start DL/I call image capture using the DLITRACE control statement in the DFSVSAMP DD data set.
The control statement allows you to trace either all DL/I calls issued by an application program or a range of calls. The traced information can be put in a sequential data set, the IMS log data set, or into both concurrently.