Previous Topic: From Source ListingNext Topic: View Indirect Commands on the Status Report


Indirect Command Examples

The following examples explain how to use indirect commands to correct the errors in the CA InterTest for CICS demo program COBDEMO.

  1. To prevent the ASRA problem caused by the invalid decimal arithmetic data value assigned to the COBOL data‑item TASKNUM:

    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.

  2. To avoid the storage violation that occurs in COBDEMO:
  3. To perform the code that was bypassed at statement 1369 at another location where it will not cause a storage violation:
  4. To debug a program that is invoked by multiple transaction IDs and take breakpoints only when a particular transaction ID is specified:

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.