id stringlengths 14 14 | text stringlengths 3 7k | source stringclasses 1
value |
|---|---|---|
70a349c2d82a-0 | InterTest™ and SymDump ® 11.0
1925 001242 MULTIPLY UNIT-PRICE(SUB-6) BY NO-OF-WIDGETS(SUB-6)
001243 GIVING ITEM-TOTAL.
1925 001244 ADD ITEM-TOTAL TO ORDER-SUB-TOTAL.
1925 001245 MOVE 1 TO SUB-6. ... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
70a349c2d82a-1 | 001236 UNTIL SUB-6 EQUAL 5.
U---> 001237 ORDER-CALC-EX.
---> 001238 GO TO OPTIONS.
5002 001239 TOTAL-ORDER.
5... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
70a349c2d82a-2 | using Skip to bypass the cause of the loop:
CAMRCOB2 ---------- CA InterTest Batch ATTENTION Intercept ------------------- COMMAND ===>
SCROLL ===> CUR
TRACE=> 001244 001242 001241 001240 001239 001253 001246 001245 001244 001242
-----------------------------... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
824358a0a3f7-0 | InterTest™ and SymDump ® 11.0
0001 001233 MOVE CUSTOMER-VALUES TO CUSTOMER-ORDER.
0001 001234 MOVE ZEROES TO ORDER-SUB-TOTAL, SUB-6, LOOP-OUT.
0001 001235 PERFORM TOTAL-ORDER THRU TOTAL-ORDER-EX
001236 UNTIL SUB-6 EQUAL ... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
824358a0a3f7-1 | The following sample screen shows a continuing execution from the ADD Statement:
CAMRCOB2 ---------- CA InterTest Batch ATTENTION Intercept ------------------- COMMAND ===>
SCROLL ===> CUR
TRACE=> 001244 001242 001241 001240 001239 001253 001246 001245 001244 001242 ... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
824358a0a3f7-2 | 5001 001246 TOTAL-ORDER-EX.
001247 *------------------------------------------------*
001248 * The code above will loop. The loop can be *
7.Press Enter. CAMRCOB2 resumes execution from the line where you typed G, and ... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
a2bae86b7e24-0 | InterTest™ and SymDump ® 11.0
TRACE=> 001237 001253 001246 001244 001242 001241 001240 001239 001253 001246
------------------------------------------------------------------------
1F08D1C8 NB-S 000044 77 SUB-6 +0005.
-------------------------------------------... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
a2bae86b7e24-1 | 001248 * The code above will loop. The loop can be *
CAMRCOB2 finally executed out of the TOTAL-ORDER routine, and continued until it reached unconditional breakpoint
set at ORDER-CALC-EX (one of the unconditional breakpoints included in the data set member demoincl).
You can see from the keep windo... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
7d8499a59d8c-0 | InterTest™ and SymDump ® 11.0
CAMRCOB2 displays the screen that describes what occurs in this part of the demo session.
2.Press Enter. The application halts CAMRCOB2 at an unconditional breakpoint that you included at the beginning of the
demo.
The following sample screen shows CAMRCOB2 at an unconditional breakpoint:
... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
7d8499a59d8c-1 | ---> 001069 MOVE YTD TO TOTAL-GROSS.
---> 001070 POPULATE-GRAPH-EX.
---> 001071 EXIT.
---> 001072 DEMONSTRATE-CONDITIONAL-BKPT. ... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
7d8499a59d8c-2 | 001141 * -----------------------------------------------*
001142 * This section of the Demo shows you *
590 | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
7206198d8a22-0 | InterTest™ and SymDump ® 11.0
001143 * the benefits of using the Prev *
001144 * and Advance commands.. .. *
001145 * -----------------------------------------------*
0001 001146 MOVE 4 TO C... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
7206198d8a22-1 | 0001 001137 DEMONSTRATE-PREV-COMMAND.
001138 *
0001 001139 CALL 'ISPLINK' USING DSPLY,
001140 COBDPN75. ... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
89d9f1ac1799-0 | InterTest™ and SymDump ® 11.0
Follow these steps:
1.Type the CS command and Press Enter.
The application displays the original Breakpoint Intercept panel that is shown in the beginning of this option.
2.Type the GO command and press Enter.
CAMRCOB2 resumes execution and displays the Advanced Options Demo Screen. You ca... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
89d9f1ac1799-1 | 0001 001183 SET C1 TO 5.
0001 001184 ADD +1 TO DISTRICT ( A1, B1, C1 ).
---> 001185 MOVE SPACES TO TASK-TEXT OF TASK-STRUCTURE.
001186 * -----------------------------------------------* ... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
4f572c665cc8-0 | InterTest™ and SymDump ® 11.0
If you recall, this type of error was detected and corrected in the basic demo session. To continue execution, find the data
item causing the S0C7 ABEND and dynamically modify it.
Looking at the highlighted breakpoint statement, you might suspect the variable is at fault; it probably was n... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
4f572c665cc8-1 | ---> 001185 MOVE SPACES TO TASK-TEXT OF TASK-STRUCTURE.
001186 * -----------------------------------------------*
001187 * This section of the Demo shows you how to *
001188 * inspect and change the value of subscripted * ... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
d2dbaee57d84-0 | InterTest™ and SymDump ® 11.0
CAMRCOB2 ---------- CA InterTest Batch ABEND S0C7 Intercept ------------------
COMMAND ===> set district (a1,b1,c1) = zero SCROLL ===> CUR
TRACE=> 001184 001183 001182 001181 001196 001195 001193 001192 001196 001195
-------------------------------------------... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
d2dbaee57d84-1 | The application dynamically modifies the value in main storage for DISTRICT ( A1, B1, C1 ), and displays the new value in
the keep window. The message on the top right of the panel reads: SET COMPLETE .
Single-Step Execution
Use the step command to execute just one line of code. The step command lets you determine how ... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
d2dbaee57d84-2 | 001189 * table items.. .. *
001190 * -----------------------------------------------*
594 | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
ef59ba973545-0 | InterTest™ and SymDump ® 11.0
---> 001191 GO TO OPTIONS.
PP 5655-G53 IBM Enterprise COBOL for z/OS and OS/390 3.1.0 CAMRCOB2
LineID ----+-*A-1-B--+----2----+----3----+----4----+----5----+----6----+
0018 001192 INITIALIZE-TABLE. ... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
ef59ba973545-1 | or press PF3 to end the demo.
Option 7 Histogram Report
This option illustrates how to create and view the Histogram Report of Statement Execution. The option is useful in
identifying dead code.
NOTE
Before you proceed, completed the steps that are outlined in Advanced Demo Preliminary, and have the Demo
Session Option... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
1db704c0dc45-0 | InterTest™ and SymDump ® 11.0
000978 * The " UNCOND ALL EXIT " ( or " AT ALL EXIT " ) *
000979 * command will cause an Unconditional Breakpoint *
000980 * at a program's exit point.. .. *
000981 * -------------------------... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
1db704c0dc45-1 | The ISPF Main Menu displays in the split-screen area.
Roscoe users
Enter the Roscoe SPLIT sequence.
A second Roscoe panel displays.
2.ISPF users
Select the ISPF Browse Facility and request a display of the data set associated with the ddname INT1REPT. You
allocated this data set in the Advanced Demo Preliminaries. T... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
1cbf9d13cc84-0 | InterTest™ and SymDump ® 11.0
BROWSE -- USER99 _TSU04928 ------------------------- Line 00000000 Col 001 080
Command ===> Scroll ===> PAGE
********************************* Top of Data **********************************
1CA InterTest/Batch Execution Histogram Fo... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
1cbf9d13cc84-1 | BROWSE -- USER99 _TSU04928 ------------------------- Line 00000246 Col 001 080
Command ===> Scroll ===> PAGE
001310 0017 |*****************
001311 ---- | ... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
396b5e28ae63-0 | InterTest™ and SymDump ® 11.0
NOTE
In our example, the unexecuted code starts at line 1311. Note the corresponding line number in your program
that is unexecuted.
ISPF users
Remove your split-screen using the command: X
Roscoe users
Use the Roscoe END key to end the second session.
You return to a full-screen display... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
396b5e28ae63-1 | 0034 001318 EXIT.
PP 5655-G53 IBM Enterprise COBOL for z/OS and OS/390 3.1.0 CAMRCOB2
An "M" preceding a data-name reference indicates that the data-name is mo
... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
f2c1d09011ec-0 | InterTest™ and SymDump ® 11.0
If you are continuing the demo, CAMRCOB2 program execution continues with the display of the Advanced Options
Menu. Choose another option from the menu.
If you are exiting the demo, CAMRCOB2 resumes execution at the normal program exit and terminates. You return to
the Execution Control pa... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
f2c1d09011ec-1 | corner of the screen: BREAKPOINT SET.
CAMRASM ---------- CA InterTest Batch *INITIAL* Intercept ----- BREAKPOINT SET
COMMAND ===> SCROLL ===> CUR
TRACE=> 000005
R:D 00000 ... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
61a06db54cb8-0 | InterTest™ and SymDump ® 11.0
18 *-------------------------------*
*--> 000004 C3C1D4D9C1E2D440 19 DC CL8'CAMRASM'
*--> 20 DC CL9'&SYSDATE'
00000C F0F561F1F661F0F3 + ... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
61a06db54cb8-1 | environment requires you to use the PA1 key. If using PA1, you may need to press RESET first.
Exit the Advanced Options Demo
You can exit the demo from the Options Menu at any time.
Follow these steps:
1.Press PF3.The End Demo Session screen displays.
2.Press Enter.The InterTest Batch Program Breakpoint Intercept panel... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
fb47df528fb6-0 | InterTest™ and SymDump ® 11.0
NOTE
Before proceeding, be sure you have completed the steps outlined in Advanced Demo Preliminaries, and you
have the InterTest Batch Demo Session Options Menu displayed on your screen.
This option requires you to interrupt the program by pressing the ATTENTION key or the PA1 key. Before ... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
fb47df528fb6-1 | -------------------------------------------------------------------------
0001 000414 D208 D66B C9BE 0066B 009BE 438 MVC TOTALGROSS,ZEROS
U---> 00041A 440 PAY_CALC DS 0H
---> 00041A 1F00 441 SLR R0,R0
---> ... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
fb47df528fb6-2 | ---> 000444 4C20 CDF4 00DF4 460 MH R2,=Y(L'MONTH_ITEM
Issue the SLOW command to execute one statement every two seconds. As the program resumes execution, you
are able to see the changing values of YTD and X_AXIS_YTD. In this demo, you are going to halt execution when the
X_AXIS_YTD value is M... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
3182a64336ac-0 | InterTest™ and SymDump ® 11.0
2.When the value of X_AXIS_YTD in the keep window is MAR, press the ATTN or PA1 key. Try the ATTN key first.The
application displays the Attention Intercept panel, as shown in the following panel.
A sample Attention Intercept panel follows:
CAMRASM ---------- CA InterTest Batch ATTENTION ... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
3182a64336ac-1 | R:2 00000 469 USING XAXIS,R2
0003 00045E D201 2000 CA84 00000 00A84 470 MVC X_AXIS_ITEM,TOKEN_
471 DROP R2
0003 000464 4820 D102 00102 473 LH R2,SUB_4
0003 000468 4C20 CDF8 ... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
3182a64336ac-2 | Continue Execution
Type GO and press Enter to continue execution.CAMRASM resumes execution, and displays the Options Menu.
This concludes Option 1: Time Controlled Execution. Select another option and go to the appropriate section, or exit the
demo using PF3.
602 | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
7b7d6b726fb3-0 | InterTest™ and SymDump ® 11.0
Option 2 Set Conditional Breakpoints
This option shows you how to set and use conditional breakpoints.
NOTE
Before proceeding, be sure you have completed the steps outlined in Advanced Demo Preliminaries and you
have the Demo Session Options Menu displayed on your screen.
Follow these step... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
7b7d6b726fb3-1 | ===> k subtotal; set totalgross = 000200000; k totalgross
The application displays the following message in the top right corner of the When panel: WHEN CONDITION SET.
3.Press PF3 to exit the When panel.The application brings you to the Intercept panel.
4.Continue execution by typing GO and pressing Enter.CAMRASM res... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
fc75b96fedac-0 | InterTest™ and SymDump ® 11.0
------------------------------------------------------------------------
GR 0-7 00000000 00000002 1F1A0C90 1F1A0FA6 00142A1E FFEBD5E2 00000000 00000000
8-F 00000000 00000000 00000000 00000000 9F1A01C8 00142248 9F1A06A2 00000000
-------------------------------------------... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
fc75b96fedac-1 | The When panel displays.
2.Type the following on the When panel and press Enter:
OPTION: ===> r
WHEN NAME ===> ytdcond
The application displays the following message in the top right corner of the When panel: WHEN DELETED.
3.Press PF3 to exit the When panel.The application brings you to the previous Intercept panel.
Re... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
962fa77839ff-0 | InterTest™ and SymDump ® 11.0
2.Press Enter.The application halts CAMRASM at an unconditional breakpoint at the label SPLIT_SCREEN.
3.Tab about halfway down your screen and press the SPLIT PF key defined in your ISPF profile (normally PF2).The
ISPF Primary Option Menu displays in the bottom half of your screen.
Update ... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
962fa77839ff-1 | locate each of these keys on your keyboard. If you need help, ask a technical support person before you begin.
Follow these steps:
1.Type Option 4 and press Enter.
CAMRASM displays the screen that describes what occurs in this part of the demo session.
2.Press Enter.The application halts CAMRASM at an unconditional bre... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
53f4e6d5fc7a-0 | InterTest™ and SymDump ® 11.0
NOTE
If you do not successfully stop execution with the ATTN or PA1 key before 1024 executions of the demo
program loop, you reach a safety net conditional breakpoint. If you reach this breakpoint, instructions for
continuing are given in the next section.
Continue from the “Safety Net” Co... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
53f4e6d5fc7a-1 | Look at the frequency counters to the left of the program statements. They show repeated execution of the
TOTAL_ORDER statements, indicating a loop. To investigate the logic in TOTAL_ORDER, you can set a keep window
for SUB_6 and then execute slowly using the SLOW command. This time you use the abbreviated form of the ... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
e1b731f4b607-0 | InterTest™ and SymDump ® 11.0
1130 0005D4 FC73 D058 2006 00058 00006 652 MP LDWORK,NO_OF_WIDGE
1130 0005DA D204 D0F3 D05B 000F3 0005B 653 MVC ITEM_TOTAL,LDWORK+
654 DROP R2
1130 0005E0 4810 D106 00106 656 ... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
e1b731f4b607-1 | 669 *-------------------------------*
670 * This section of the demo *
2.Type the SLOW 2 command to execute one CAMRASM statement every two seconds and press Enter.
CAMRASM continues a slow execution. As the code executes, you can see the code looping, and you can see the
... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
e1b731f4b607-2 | COMMAND ===> SCROLL ===> CUR
TRACE=> 000652 000651 000649 000648 000647 000646 000638 000637 000641 000640 0
-------------------------------------------------------------------------
0013F92E HX 001237 02 SUB_6 0001
... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
e1b731f4b607-3 | 654 DROP R2
1130 0005E0 4810 D106 00106 656 LH R1,SUB_6
607 | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
272d1ce1403a-0 | InterTest™ and SymDump ® 11.0
1130 0005E4 4110 1001 00001 657 LA R1,1(,R1)
1130 0005E8 4010 D106 00106 658 STH R1,SUB_6
1130 0005EC 4810 D10C 0010C 660 LH R1,LOOP_OUT
1130 0005F0 4110 1001 00001 661 ... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
272d1ce1403a-1 | demo using PF3.
Option 5 Trace Program Execution
This option illustrates the use of the PREVIOUS and ADVANCE commands to help you trace program execution.
NOTE
Before proceeding, be sure you have completed the steps outlined in Advanced Demo Preliminaries and you
have the Demo Session Options Menu displayed on your scr... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
d00bc7ad3af1-0 | InterTest™ and SymDump ® 11.0
The application highlights the next statement executed.
3.Repeat the Advance step a few more times.You can follow the execution order of the program by following the
highlighted lines as you advance through the program trace. In effect, using PREV and ADVANCE gives you a
simulated instant ... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
d00bc7ad3af1-1 | View the Histogram Report
The report is written to the data set associated with the ddname INT1REPT that can be viewed by splitting the screen.
Follow these steps:
1.Tab a few lines down your screen and press the SPLIT PF key defined in your ISPF profile (normally PF2).The ISPF
Main Menu displays in the split-screen ar... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
19cf6652cb28-0 | InterTest™ and SymDump ® 11.0
NOTE
Depending on your assemble options, line 902 may not be the label WRITE_ERROR. If this is the case, use the
statement number you found by scrolling up from the end of the histogram report.
By reviewing the code, you can determine whether or not it is required. In this case, it is an e... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
19cf6652cb28-1 | demo you set an unconditional breakpoint using the U or ) line command, which are both equivalent to the UNCOND
command. However, a quicker way to include unconditional breakpoints for a test session is to place the breakpoint
commands in a data set member, and simply include that member when the Initial Intercept pane... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
fb6e6626a793-0 | InterTest™ and SymDump ® 11.0
/*------------------------------------------------*/
/* Welcome to the CA InterTest Batch */
/* PL/I demonstration program. You are now at the
*/
/* Initial Breakpoint panel which is displayed ... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
fb6e6626a793-1 | Before you start, you should know that:
To interrupt a loop-press the ATTN or PA1 key. Try the ATTN key first. If that does not interrupt the loop, your testing
environment requires you to use the PA1 key. If using PA1, you may need to press RESET first.
Exit the Advanced Options Demo
You can exit the demo from the Opt... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
fe7b571af93c-0 | InterTest™ and SymDump ® 11.0
2.Press Enter.The Program Breakpoint Intercept panel displays for an unconditional breakpoint at label
RETURN_TO_OPSYS. (This breakpoint was set by a command in the PLIINCL include file.)
3.Type GO and press Enter to execute the program.The demo program ends, and the Entry panel is display... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
fe7b571af93c-1 | procedure statement is highlighted.
3.Open a keep window that displays the values of YTD and X_AXIS_YTD by entering the commands specified below.
Notice how you can use the short form of the keep command K and use the TSO command delimiter (normally a semi-
colon) to string multiple commands on a single command line. T... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
3d99063f14f6-0 | InterTest™ and SymDump ® 11.0
---> 172 2 1 CALL POPULATE_GRAPH ( J );
---> 173 2 1 END;
/* CHEQUE_LINE = ' '; */
---> 174 2 0 CHEQUE_AMOUNT ... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
3d99063f14f6-1 | -------------------------------------------------------------------------
0003 182 2 0 X_AXIS_YTD = MONTH_ITEM ( I );
0003 183 2 0 X_AXIS_R ( I ) = TOKEN_ITEM;
0003 184 2 0 YTD = YTD + MONTHLY_AMOUNT
0... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
32eadc372221-0 | InterTest™ and SymDump ® 11.0
•You opened a keep window for two variables whose values you wished to view and compare.
•You used the command slow 2 to have the application slowly execute the program. However, during the program
execution, you could monitor the values of the variables in the keep window.
•You used the A... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
32eadc372221-1 | highlighted.
3.Access the screen used to set conditional breakpoints. From this screen, you can set both the conditions and any
commands you want executed when the specified condition is met.
4.Type the COND command in the Command field and press Enter.
The When panel displays. WHEN is a synonym for COND.
5.Make the fo... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
5dd880ea8be2-0 | InterTest™ and SymDump ® 11.0
DATA-AREA-2 ===> 600.00
AFTER ===> N (Y/N)
COMMANDS TO BE EXECUTED AT WHEN CONDITION:
===> k subtotal; set totalgross = 2000; k totalgross
... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
5dd880ea8be2-1 | 0002 193 2 1 BILL_YTD = SUBTOTAL;
0002 194 2 1 END;
---> 195 2 0 RETURN;
---> 196 2 0 END BILL_CALC; ... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
c4ecca93719c-0 | InterTest™ and SymDump ® 11.0
S - SET A WHEN CONDITION
R - RESET A WHEN CONDITION
L - OR BLANK, LIST THE WHEN CONDITIONS
SPECIFY DATA AREA NAME(S) AND COMPARISON CONDITIO... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
c4ecca93719c-1 | Follow these steps:
1.Select option 3 and press Enter.
CAMRPLI displays the screen that describes what occurs in this part of the demo session.
2.Press Enter.The application halts CAMRPLI at an unconditional breakpoint at the label SPLIT_SCREEN.
3.Tab about halfway down your screen and press the SPLIT PF key defined in... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
a59611d1aee1-0 | InterTest™ and SymDump ® 11.0
GO TO OPTIONS;
/*------------------------------------------------*/
/* FROM THIS UNCONDITIONAL BREAKPOINT YOU CAN */
/* PRESS THE PF KEY ... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
a59611d1aee1-1 | Continue Execution
Follow these steps:
1.Remove your ISPF split-screen using the command: =XYou return to a full-screen display of the unconditional
breakpoint shown in the previous panel.
2.Type GO and press Enter to continue execution.You return to the Demo Options Menu.
This concludes Option 3: Update Source Code. S... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
2de04e626305-0 | InterTest™ and SymDump ® 11.0
Follow these steps:
1.Select option 4 and press Enter.
CAMRPLI displays the screen that describes what occurs in this part of the demo session.
2.Press Enter.The application halts CAMRPLI at an unconditional breakpoint set at ORDER_CALC. A sample screen
showing CAMRPLI stopped at ORDER_CAL... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
2de04e626305-1 | frequency display on by entering the command: freq.
3.Continue execution by typing GO and pressing Enter.CAMRPLI resumes execution. Notice the system light remains
on. There are additional breakpoints and screen panels in the demo program code, yet all you see is the system light.
This is symptomatic of a looping progr... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
5c31d47aea6d-0 | InterTest™ and SymDump ® 11.0
A sample screen showing a Safety Net Conditional Breakpoint of a Demo Loop follows:
CAMRPLI ---------- CA InterTest Batch WHEN LOOPCOND BEFORE Intercept --------
COMMAND ===> SCROLL ===> CUR
TRACE=> 000219 000218 000217 000216 000221 000... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
5c31d47aea6d-1 | RETURN;
To continue with the looping program demo, you must press the ATTN or PA1 key before 20,000 executions of the loop
this time. To continue the program loop, use the following steps:
1.Type GO and press Enter to continue the loop execution.
2.Press the ATTN key or the R... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
39715843ddfe-0 | InterTest™ and SymDump ® 11.0
TRACE=> 000221 000220 000219 000218 000217 000216 000221 000220 000219 000218 0
013K 220 2 1 I = 1;
013K 221 2 1 ORDER_SUB_TOTAL = ORDER_SUB_TOTAL + IT
222 2 1 END; ... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
39715843ddfe-1 | The current statement is highlighted.
Look at the frequency counters to the left of the program statements. They show repeated execution of the
TOTAL_ORDER statements, indicating a loop. To investigate the logic in TOTAL_ORDER, you can set a keep window for
I and then execute slowly using the SLOW command. This time yo... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
275f6f219d68-0 | InterTest™ and SymDump ® 11.0
228 2 0 DCL 1 TABLE_OF_SORTS,
3 TABLE_ELEMENT (60) CHAR(1);
---> 229 2 0 DO I = 1 TO 17;
2.To execute one CAMRPLI statement every two ... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
275f6f219d68-1 | STMT LEV NT
013K 220 2 1 I = 1;
013K 221 2 1 ORDER_SUB_TOTAL = ORDER_SUB_TOTAL + IT
222 2 1 END;
U---> ... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
275f6f219d68-2 | -------------------------------------------------------------------------
013K 216 2 0 DO UNTIL (I = ORDER_ITEMS);
013K 217 2 1 I = I + 1;
013K 218 2 1 LOOP_OUT = LOOP_OUT + 1;
62... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
889305095702-0 | InterTest™ and SymDump ® 11.0
013K 219 2 1 ITEM_TOTAL = UNIT_PRICE ( I ) *
NO_OF_WIDGETS ( I );
5688-235 IBM PL/I for MVS & VM CAMRPLI: PROC OPTIONS (MAIN);
STMT LEV NT ... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
889305095702-1 | g013K 217 2 1 I = I + 1;
013K 218 2 1 LOOP_OUT = LOOP_OUT + 1;
013K 219 2 1 ITEM_TOTAL = UNIT_PRICE ( I ) *
NO_OF_WIDGETS ( I );
... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
6813cfb2d826-0 | InterTest™ and SymDump ® 11.0
-------------------------------------------------------------------------
013K 216 2 0 DO UNTIL (I = ORDER_ITEMS);
013K 217 2 1 I = I + 1;
013K 218 2 1 LOOP_OUT ... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
6813cfb2d826-1 | Before going back to the options menu, remove the keep window and skip command.
Follow these steps:
1.Type the REMOVE ALL command.
2.Tab down to the I = 1 statement and type over the S to the left of the statement with X and press Enter.
The keep window is removed, and the skip line command is removed.
3.Continue execu... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
444dd57af6bc-0 | InterTest™ and SymDump ® 11.0
***** CA InterTest Batch Demo Session *****
***** Tracing program execution *****
***** *****
********************************************... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
444dd57af6bc-1 | 0005 172 2 1 CALL POPULATE_GRAPH ( J );
0005 173 2 1 END;
/* CHEQUE_LINE = ' '; */
0001 174 2 0 CHEQUE_AMOUNT = TOTALGROSS; ... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
ad80f200badc-0 | InterTest™ and SymDump ® 11.0
can scroll forward and retrace execution using the ADVANCE command. You may specify a number from 1 to 999 with the
PREV and ADVANCE commands to scroll more than one statement at a time.
The PREV and ADVANCE commands do not change the statement where CAMRPLI resumes execution; the PREV and... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
ad80f200badc-1 | VCOPY_COBDPN71_VALUES,
VCOPY_MOVE );
0001 113 1 0 IF VCOPY_COBDPN71_EIBAID = 'PF03' THEN
Now you can retrace the execution of the nine statements using the ADVANCE command. The short form of the
ADVANCE comman... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
ffe7dd4502b1-0 | InterTest™ and SymDump ® 11.0
/* THE BENEFITS OF USING THE PREV */
/* AND ADVANCE COMMANDS. */
/*------------------------------------------------*/
0001 111 1 0 COBDPN71_LENGTHS ... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
ffe7dd4502b1-1 | COMMAND ===> SCROLL ===> CUR
TRACE=> 000168 000118 000117 000116 000115 000114 000113 000112 000111 000110
0
U0001 168 1 0 PAY_CALC: PROC ( I );
169 2 0 DCL I PIC '999'; ... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
00263b3fd91c-0 | InterTest™ and SymDump ® 11.0
178 2 0 DCL I FIXED BIN(15);
179 2 0 DCL 1 MONTH_THING STATIC,
Suppose you want to trace the execution path of the program prior to this point. You can have the application scroll back
and di... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
00263b3fd91c-1 | /* THE BENEFITS OF USING THE PREV */
/* AND ADVANCE COMMANDS. */
/*------------------------------------------------*/
0001 111 1 0 COBDPN71_LENGTHS = 4;
0001 112 1 ... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
213dac77557e-0 | InterTest™ and SymDump ® 11.0
0001 110 1 0 DEMONSTRATE_PREV_COMMAND:
CALL ISPLINK ( DSPLY,
COBDPN75 );
/*---------------... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
213dac77557e-1 | exit.
This concludes Option 5: Trace Program Execution. Select another option and continue with the appropriate section, or
press PF3 to end the demo.
Option 6 Work with Indexed Table Items
This section of the demo session shows you a fast and easy way to inspect and modify the contents of indexed data
items. It also d... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
1343008cb106-0 | InterTest™ and SymDump ® 11.0
The next screen you see is an Abend Intercept panel. The application has automatically halted CAMRPLI because it
detected a data exception in the highlighted statement.
The following screen shows CAMRPLI at an S0C7 Abend Intercept:
CAMRPLI ---------- CA InterTest Batch ABEND S0C7 Interce... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
1343008cb106-1 | /*------------------------------------------------*/
If you recall, this is the same type of error detected and corrected in the basic demo session. To continue execution, you
need to find the data item causing the S0C7 ABEND and dynamically modify it.
Looking at the highlighted breakpoint statement, you might suspec... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
0687989e8115-0 | InterTest™ and SymDump ® 11.0
1F1A8531 NP-S 000037 04 DISTRICT ?000.
A1 (+1)
B1 (+3)
C1 (+5) ... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
0687989e8115-1 | Press Enter.
The following panel corrects the uninitialized Table Item:
CAMRPLI ---------- CA InterTest Batch ABEND S0C7 Intercept ------------------
COMMAND ===> set district (a1,b1,c1) = zero SCROLL ===> CUR
TRACE=> 000128 000127 000126 000125 000206 000205 000204 000203 000202 000201
0
---... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
081b87834a58-0 | InterTest™ and SymDump ® 11.0
/* TASK_STRUCTURE.TASK_TEXT = ' '; */
---> 129 1 0 GO TO OPTIONS;
/*------------------------------------------------*/
/* THIS SECTION O... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
081b87834a58-1 | A1 (+1)
B1 (+3)
C1 (+5)
-------------------------------------------------------------------------
0001 128 1 0 DISTRIC... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
db35cbd7349c-0 | InterTest™ and SymDump ® 11.0
2.Execute CAMRPLI by entering the command: GO and pressing Enter.The statement that increments the DISTRICT
table item is executed, and then the application halts execution and displays a Step Count Intercept panel. Statement
129 is now the current line, and is highlighted.
Remove the Step... | /Users/ilidiolopes/Documents/ca-intertest-and-ca-symdump-11-01.pdf |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.