Set Request Breakpoints

CA InterTest™ lets you add request breakpoints to any program. A request breakpoint halts your program at specified points so that you can check program processing. For example, you can halt a program before every READ command, then use single-step through the read instructions, and then check if the program has read the correct record.

Follow these steps:

  1. Select Window, Show Views, CA InterTest™ Debug.
    The CA InterTest™ Debug view opens.

  2. Select the program for which you want to add request breakpoints.

  3. Right-click and select Configure Program Debug Settings.
    The CA InterTest™ Monitoring Settings dialog for the selected program opens.

  4. Do one of the following:

    • For a batch program
      Check the boxes next to the following commands at which you want to set request breakpoints for a batch program.

      • DBCALL Breakpeoint
        Causes program execution to be halted when a call to a database is ready to be executed.

      • ENTRY Breakpoint
        Causes program execution to be halted when a program is entered.

      • EXIT Breakpoint
        Causes program execution to be halted when a program is about to be exited.

      • LABEL Breakpoint
        Causes program execution to be halted at each label or paragraph in the program.

      Note: Monitor and Data Monitor are monitoring options, not request breakpoints.

    • For a CICS program
      Check the boxes next to the following commands at which you want to set request breakpoints for a batch program.

      Note: To see the CICS commands, select the Main tab in the InterTest Monitoring Settings dialog for a CICS program. The commands are available under the Request Breakpoints Settings.

      • DB2
        Halts program execution at all DB2 calls.

      • DL/I
        Halts program execution at all IMS calls.

      • CICS Commands
        Lets you set breakpoints for CICS commands. Click the plus sign (+) to see the commands available for setting breakpoints. Check the boxes next to the commands at which you want to set request breakpoints.

      • User Exits
        Lets you set breakpoints for various user exits that may be utilized in a CICS region. Click the plus sign (+) to see the user exits available for setting breakpoints. Check all the boxes next to the user exits at which you want to set request breakpoints.

  5. Click Finish.
    A new request breakpoint is set for the selected program.