Previous Topic: How to Set Request BreakpointsNext Topic: Execute the Demo Program


Composite Support

Composite support lets you use CA InterTest for CICS to test and debug composite modules effectively. A composite module is a load module (defined in the PPT) that consists of separately compiled or assembled parts brought together when the module is link‑edited. In the demo session, the part of the composite module that receives control from CICS is referred to as the main program; the remaining programs are referred to as subroutines. The main program and subroutines can be written in the same or different languages.

Composite support lets you test and debug a subroutine, such as an external procedure, as if it were a separate program with full symbolic support. This means you can set breakpoints and other monitoring options individually for any subroutine. CA InterTest for CICS also generates automatic breakpoints in the subroutine when it detects an error that would otherwise cause the program to abend.

To demonstrate this feature, you will set composite support for the composite module PLIDEML, to which PLIDEMO links. PLIDEML has two called subroutines you want CA InterTest for CICS to monitor—one written in PL/I, the other in Assembler. The subroutine names will vary according to which PL/I demo program you are running.

  1. We left off at the Program Monitoring Menu, now type =x in the Command line and press Enter to exit the menus and return to the Source Listing Display.
  2. Tab to the Program field.
  3. Overtype PLIDEMO with PLIDEML. (Change the last letter to L.)
  4. Press Enter.

    CA InterTest for CICS Release 9.1.00 ‑ PROTSYM FILE SOURCE LISTING DISPLAY COMMAND ===> Program= PLIDEML Option # Stmt # Margin= 01 Search= ‑‑‑‑‑‑‑‑‑+‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑ . . .

    The source listing for the composite module PLIDEML appears.

  5. Type COMPOSITE on the command line and press Enter.

    CA InterTest MONITORING COMMAND BUILDER - COMPOSITE SUPPORT 23 Define composite support for PLIDEML Link-name Monitor-name Offset Length Language Comments _ PLIDEML1 PLIDEML 80 218 PL/I 3.2 _ PLIXOPT ________ D50 8 __________ _ PSBIN251 PSBIN25 DF8 1A8 PL/I 3.2 _ ASBIN25 ASBIN25 FA0 17C HLASM 5.0 Add, remove, or change monitor names as needed, and press PF5 CAIN2602 BOTTOM of data PF1 Help 2 3 End 4 Return 5 Process 6 PF7 Backward 8 Forward 9 10 11 12

  6. Press PF3 to return to the PLIDEMO program listing. However, if you wanted to activate composite program monitoring for the COBDEML program here you would just press PF5.