Previous Topic: View Monitoring StatusNext Topic: Determine the Cause of the Error


Start Program Execution

The process to start the program execution is different for batch and CICS applications. Follow one of these procedures to begin debugging your program.

For batch applications

Follow these steps:

  1. Select the program that you want to monitor under the Monitored node in the Debug view.
  2. Click the green bug button Green bug icon for beginning debugging on the toolbar.

    The batch job is submitted and the initial intercept is displayed.

  3. Click the green arrow button to allow the program to run.

    The program will run until it encounters an abend.

For CICS applications

Follow these steps:

  1. Under the Monitored node on the InterTest Debug view, select the program that you want to monitor and click the green bug button Green bug icon for beginning debugging on the toolbar.

    The InterTest Debug Settings dialog opens.

  2. Ensure that the debug settings are defined as you want them. For more information about configuring the debug settings, see Configure the Debug Settings.
  3. Click Connect.

    CA InterTest notifies CA InterTest for CICS that your program is ready for debugging.

  4. Go to the mainframe CICS display (green screen), and type in the transaction identifier of the demo program as listed in Demo Source Programs.
  5. Press Enter.

    The Welcome screen appears.

  6. Press Enter on this CICS mainframe screen.

    The demo program begins execution. Your CICS session will indicate that it is in xSystem state:

    CICS is in xSystem state.

  7. Return to the CA InterTest for CICS Eclipse UI to continue with your debugging session. Notice that the InterTest Debug view now displays the debug status as Debugging.

    InterTestt Debug view displays debugging

Evaluate and Correct Errors

When a program encounters an error during execution, and abend occurs and stops the program.

At the abend, the following events occur:

When an abend occurs:

Once a program is stopped, you can use the CA InterTest for CICS testing and debugging facilities to do the following tasks. When debugging your own programs, you will typically perform one or more of these activities.