Debugging with IBM Debug Tool for z/OS or IBM z/OS Debugger

To use IBM® Debug Tool for z/OS® or IBM z/OS Debugger (Debug Tool), you must modify the IMS Batch Terminal Simulator JCL.

Before you begin

To enable an IMS application for use with Debug Tool, it must be compiled with the TEST option. For example:

//         PARM.COBOL='MAP,OFFSET,VBREF,XREF,OBJ,TEST',
Tip: Several other methods are available to enable your application for use with Debug Tool. For more information, see the IBM Debug Tool for z/OS User's Guide or the IBM z/OS Debugger User's Guide.

Procedure

  1. Ensure that the SEQAMOD data set is included in the STEPLIB concatenation.
  2. Specify the following DD statements for Debug Tool:
    CEEOPTS
    Defines additional invocation-level runtime options. This DD statement is required to debug applications through Debug Tool (TEST option).
    INSPIN
    Defines the input data set that contains the Debug Tool commands.
    INSPLOG
    Defines the output data set for recording the progress of the debugging session.
  3. Specify the TEST runtime option in CEEOPTS DD. For example, TEST(,INSPIN,,)
  4. Specify the Debug Tool commands in INSPIN DD, or specify the Debug Tool commands in a data set and allocate the data set to INSPIN DD.