To have the indirect commands automatically executed by your program, set an unconditional, conditional, or request breakpoint that points to the first indirect command statement number. When you set a breakpoint with this option, each time the breakpoint takes effect the indirect commands are executed.
From the Source Listing Display screen, set the unconditional or conditional breakpoint as follows:
The Breakpoint Locations menu displays, which lets you set a number of breakpoint options.
Statement no. of indirect command(s) to be executed: _____
and type the first indirect command statement number (leading zeroes are optional), as shown in the following screen.
CA InterTest MONITORING COMMAND BUILDER - COBOL BREAKPOINT LOCATIONS 11 SET breakpoint options for PROG=COBDEMO for location: 000479 Execute indirect command 100 After: _ Enter 'n' to stop only every n'th time: ____ Term ID (or .ANY or .NO) where breakpoints will take effect: U080 Term ID (or .ANY) that will receive the breakpoints: U080 Statement no. of indirect command(s) to be executed: 10___ User ID (or .ANY) who will execute the program: .ANY PF1 Help 2 3 End 4 Return 5 6 PF7 8 9 10 11 12
Your source listing display shows the indirect command to be executed on the line above the statement with the U or C indicator.
To set a request breakpoint that executes an indirect command, follow the usual steps to set the request breakpoint from the menus. On the Request Breakpoint Selection menu, also type the statement number of the indirect command to execute, as shown in the following screen.
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 x 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: 0010_ User ID (or .ANY) who will execute the program: .any____ PF1 Help 2 3 End 4 Return 5 6 PF7 8 9 10 11 12
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|