Previous Topic: Set Request Breakpoints from the Source ListingNext Topic: Remove Breakpoints


Set Request Breakpoints from the Menus

When viewing a program listing before or after a breakpoint, specify the RBP command to display the RBP menus.

Alternatively use the Program Monitoring (2.1), Transaction Monitoring (2.2), or Terminal Monitoring (2.33) menu to set request breakpoints. Complete the top of the menu according to how you are monitoring or want to monitor the program, terminal, or transaction, and select the RBP option on the bottom of the menu. Detailed steps on how to do this are given next for users unfamiliar with the monitoring menus.

  1. Access the Primary Option Menu, and select 2 Monitor to access the Monitoring Menu.
  2. Select option 1 Program to have the request breakpoints apply to a monitored program. Alternatively, select another monitoring option if you are monitoring by Transaction (2) or Terminal (2).
  3. On the Monitoring submenu, complete the monitoring entry for the Program (Terminal or Transaction) and user ID, and then type s next to the RBP Option for Request Breakpoints and press Enter.

After specifying the RBP command from the Source Listing screen or completing the monitoring menu with the RBP option selected, CA InterTest for CICS displays the Request Breakpoint Selection menu.

On this screen enter an x next to the options you want to select. You can specify any of the following breakpoints:

ALL commands

The program halts prior to all CICS commands.

DL/I

The program halts prior to all DL/I calls.

DB2

The program halts prior to all calls to DSNHLI (for DB2 users) or prior to all calls to ARIPRDI (for SQL/DS users).

CALLS

The program is halted prior to calls to software that CA InterTest has been instructed to recognize at installation time. A second screen, where you specify the calls, displays.

Note: If you select a type of CICS command, CA InterTest for CICS displays a second screen. For example, if you select File Control, CA InterTest for CICS displays the File Control screen.

Note: Place your cursor on a field and press F1 for a description of that field.

When you have entered all of the necessary information, press Enter. If you entered an x next to a type of command, CA InterTest for CICS displays a second screen.

Example

If you selected the File Control option, the Monitoring Command Builder Request Breakpoint Selection screen displays.

  CA InterTest MONITORING COMMAND BUILDER   REQUEST BREAKPOINT SELECTION                                                                                              Set  one or more types of File Control commands in:                                         PROG=COBDEMO                                                                                                                              _ All commands                                                                                                                                     è  x READ                                                                     è  x WRITE                                                                         _ REWRITE                                                                     _ DELETE                                                                       _ UNLOCK                                                                       _ STARTBR                                                                       _ READNEXT                                                                      _ READPREV                                                                      _ ENDBR                                                                         _ RESETBR                                                                                                                                               Enter 'n' to stop only every n'th time   ____                                                                                                                                                                                    PF1 Help       2            3 End        4 Return     5            6            PF7            8            9           10           11           12    

Using this screen specify that the program be halted at all File Control commands, or select specific File Control commands. In this example, the user specified that program COBDEMO be halted at all READ and WRITE commands.