Previous Topic: Set Unconditional BreakpointsNext Topic: Check the Monitoring Status Display


Set Request Breakpoints

Now you are going to set request breakpoints to halt ASMDEMO prior to all CICS REWRITE commands.

You can set request breakpoints to halt a program before CICS commands and macros and other calls, such as calls to DL/I or DB2. The Request Breakpoint Selection menu lets you select specific types of commands and macros at which to set request breakpoints.

You can set request breakpoints prior to all CICS commands or prior to specific commands, such as File Control or Program Control commands. Request breakpoints make it easy for you to halt your program at various points so you can check program processing. For example, you can halt the program before every READ command, single‑step through the read instructions, and then check main storage to make sure the program has read the correct record.

For option 03 of the advanced demo, you need to set request breakpoints at all File Control REWRITE commands in ASMDEMO. To do this, use the ITST Primary Option Menus for monitoring, as discussed next.

  1. Enter the RBP command on the command line.
  2. Press Enter to continue.

    The Request Breakpoint Selection menu appears. Here you specify the type of request breakpoint, such as all CICS commands, File Control, Task Control, and so on.

    CA InterTest MONITORING COMMAND BUILDER ‑ REQUEST BREAKPOINT SELECTION 13 Set one or more types of Request Breakpoints in: PROG=ASMDEMO _ ALL commands _ DL/I _ DB2 _ CALLs _ Address, Assign, _ Storage Control _ BMS Handles, Push, Pop _ Program Control _ Trace Control _ Terminal Control _ Interval Control _ Dump Control s File Control _ Task Control _ Batch Data Interchange _ TD Control _ Journal Control _ Built‑In Functions _ TS Control _ Syncpoints _ Sys Prog Functions Web access Business Trans 3270 Bridge Enter 'n' to stop only every n'th time: ____ Term ID (or .ANY or .NO) where breakpoints will take effect: ____ Term ID (or .ANY) that will receive the breakpoints: ____ User ID (or .ANY) who will execute the program: ________ PF1 Help 2 3 End 4 Return 5 6 PF7 8 9 10 11 12

  3. Tab to the File Control field and type an s.
  4. Press the Enter key.

    The File Control Request Breakpoint Selection menu appears. You use this menu to select the specific File Control commands where you want to set request breakpoints. In this case select REWRITE to halt the program prior to each File Control REWRITE command.

    CA InterTest MONITORING COMMAND BUILDER ‑ REQUEST BREAKPOINT SELECTION Set one or more types of File Control COMMANDS IN: PROG=ASMDEMO _ All commands _ READ _ WRITE s 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

  5. Tab to the REWRITE command field.
  6. Type an s and press Enter.

    CA InterTest for CICS sets request breakpoints prior to each File Control REWRITE command in the demo program and redisplays the Source Listing screen.