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.
- 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.
- In the parameters panel, type YES in the LE Program field.
To select an optional parameter, specify a forward slash (/) in the field.
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:- Right-click in the Variables view.
- Select Filter Locals.
- Select Automonitor Current or Automonitor Previous.
- In the Program/Procedure Selection List panel, choose the program that you
want to debug. Select the correct step name or procedure name.
- JCL statements are generated to invoke z/OS Debugger for a batch Db2 program. This process is
identical to a non-Db2 program invocation.