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.
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. You can set request breakpoints prior to all CICS commands (as you might have done with IBM's CEDF) or prior to specific commands, such as File Control or Program Control commands.
For option 03 of the advanced demo session, you need to set request breakpoints at all File Control REWRITE commands in the demo program. To do this, do the following:
CA InterTest for CICS displays the Request Breakpoint Selection menu on which you specify the type of request breakpoint, such as: all CICS commands, File Control and Task Control.
CA InterTest MONITORING COMMAND BUILDER ‑ REQUEST BREAKPOINT SELECTION 13
Set one or more types of Request Breakpoints in: PROG=COBDEMO _ 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: ____ Statement no. of indirect command(s) to be executed: _____ User ID (or .ANY) who will execute the program: ________ PF1 Help 2 3 End 4 Return 5 6 PF7 8 9 10 11 12
CA InterTest for CICS displays the File Control Request Breakpoint Selection menu shown in the following screen.
CA InterTest MONITORING COMMAND BUILDER ‑ REQUEST BREAKPOINT SELECTION Set one or more types of File Control COMMANDS IN: PROG=COBDEMO _ All commands _ READ _ 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
On this menu you can 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=COBDEMO _ All commands _ READ _ WRITE s REWRITE รง _ DELETE . . .
CA InterTest for CICS sets request breakpoints prior to each File Control REWRITE command in the demo program and redisplays the Program Monitoring Menu.
The next topic is necessary only if you want to use the composite support option. Composite support is a CA InterTest for CICS feature designed to aid programmers who are responsible for testing and debugging called subroutines.
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|