Debugging a Language Environment Db2 program using a remote debugger with Debug Manager

You can generate z/OS Debugger JCL statements to debug a Db2 batch program by using the remote debugger in the Eclipse IDE with Debug Manager.

  1. In ISPF Edit or Browse, enter EQAJCL G2 to bypass the z/OS Debugger JCL Wizard Option Selection panel, and request a debug session with the remote debugger. Alternatively, enter EQAJCL to invoke the IBM z/OS Debugger JCL Wizard and then select G2.
    Enter the EQAJCL G2 command.
  2. In the parameters panel, type YES in the LE Program field.

    To select an optional parameter, specify a forward slash (/) in the field.

    Specify optional parameters.
    The Automonitor on is not needed when you debug Enterprise COBOL or PL/I programs. In the Eclipse IDE, you can monitor variables in the Variables view:
    1. Right-click in the Variables view.
    2. Select Filter Locals.
    3. Select Automonitor Current or Automonitor Previous.
  3. In the Program/Procedure Selection List panel, choose the program that you want to debug. Select the correct step name or procedure name.
    Choose the program to debug.
  4. JCL statements are generated to invoke z/OS Debugger for a batch Db2 program. This process is identical to a non-Db2 program invocation.
    The JCL is generated.