TRACE command

The TRACE command creates a TRACE LOAD table of all load modules and DLLs loaded during a debug session. The TRACE LOAD table can then be listed at any point during the debug session.

The syntax of the TRACE command is as follows:
Read syntax diagramSkip visual syntax diagramTRACELOADSTARTSTOP;
START
Instructs z/OS® Debugger to start tracing new load modules and DLLs.
STOP
Instructs z/OS Debugger to stop tracing new load modules and DLLs.

Usage notes

  • When you enter the TRACE LOAD START command, any load module that is already known to z/OS Debugger is added to the TRACE LOAD table.
  • You can list the TRACE LOAD table with the command LIST TRACE LOAD.
  • The TRACE LOAD table is deleted when you issue TRACE LOAD STOP, and thus a subsequent LIST TRACE LOAD will not return any information.

Examples

To instruct z/OS Debugger to start tracing loads of load modules and DLLs, and then list the traced load modules/DLLs and their library names, enter the following commands:
TRACE LOAD START;
(Various z/OS Debugger commands that step, go, or run though the code.)
LIST TRACE LOAD;
You might get results similar to the following output:
The following were loaded.
IBCD010 loaded from TSFANAY.TEST.LOAD