The following examples explain how to use indirect commands to correct the errors in the CA InterTest for CICS demo program COBDEMO.
CA InterTest MONITOR COMMAND BUILDER COBDEMO INDIRECT COMMANDS 24 Term ID (or .ANY or .NO): X001 Delete ALL: NO LINE COMMAND ------------------------------------------------------------------------------ 00010 /* INITIALIZE TASKNUM */ 00020 MOVE 1 TO TASKNUM 00030 EXIT 1 Help 2 3 End 4 5 6 7 Backward 8 Forward 9 Top 10 Bottom 11 12 CAIN1261 Indirect commands added.
Note: Setting TASKNUM to 1 alters the demo results. The clear key must be used to complete the termination of the demo when the "You have completed the sample CA InterTest for CICS test session" screen appears.
CA InterTest MONITOR COMMAND BUILDER COBDEMO INDIRECT COMMANDS 24 Term ID (or .ANY or .NO): X001 Delete ALL: NO ----------------------------------------------------------------------- 00010 /* INITIALIZE TASKNUM */ 00020 MOVE 1 TO TASKNUM 00030 EXIT 00040 * 00050 /* CIRCUMVENT STORAGE VIOLATION */ 00060 GOTO 'SENDMAP00' 1 Help 2 3 End 4 5 6 7 Backward 8 Forward 9 Top 10 Bottom 11 12 CAIN1261 Indirect commands added.
CA InterTest MONITOR COMMAND BUILDER COBDEMO INDIRECT COMMANDS 24 Term ID (or .ANY or .NO): X001 Delete ALL: NO ---------------------------------------------------------------------------- LINE COMMAND 00010 /* INITIALIZE TASKNUM */ 00020 MOVE 0 TO TASKNUM 00030 EXIT 00040 * 00050 /* CIRCUMVENT STORAGE VIOLATION */ 00060 GOTO 'SENDMAP00' 00070 * 00080 /* INSERT MOVE AT A SAFE LOCATION */ 00090 IF NEWDATA > ZEROES THEN MOVE NEWDATA TO STGAREA1 00100 EXIT 1 Help 2 3 End 4 5 6 7 Backward 8 Forward 9 Top 10 Bottom 11 12 CAIN1261 Indirect commands added.
Now, all other program breakpoints that are set may be taken only when the conditions specified by the indirect command 10 are true.
CA InterTest MONITOR COMMAND BUILDER COBDEMO INDIRECT COMMANDS 24 Term ID (or .ANY or .NO): X001 Delete ALL: NO ---------------------------------------------------------------------------- LINE COMMAND 00010 IF EIBTRNID = ‘DEC2’ THEN BREAK 00020 RUN 00030 EXIT 1 Help 2 3 End 4 5 6 7 Backward 8 Forward 9 Top 10 Bottom 11 12 CAIN1261 Indirect commands added.
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|