Composite support lets you take advantage of all CA InterTest for CICS functions when you test composite modules. A composite module consists of separately compiled modules link‑edited in one load module. These modules can be written in different languages and compiled at different times. Composite support lets you test and debug a called subroutine as if it were a separate program—with full symbolic support.
Example
Suppose a PL/I program has several subroutines, some written in PL/I, some written in Assembler and PL/I. You can test and debug any of the subroutines just as if it were a main program by setting breakpoints, setting monitoring options, displaying the source listing, and displaying and modifying main and auxiliary storage.
A composite module can be defined using one of two methods:
When you set monitoring for a composite module defined by the IN25LINK method, CA InterTest for CICS informs you that composite support can be set, as shown in the following screen.
CA InterTest for CICS Release 9.1.00 - PROTSYM FILE SOURCE LISTING DISPLAY COMMAND ===> Program= PLIDEML Option # Stmt # Margin= 01 Search= ------------------------------------------------------------------------------ _ 18.1 PLIDEML: PROC (DFHEIPTR)OPTIONS(MAIN REENTRANT); _ 19.1 1 DCL 1 DFHCNSTS STATIC, /* CONSTANTS USED BY TRANSLATOR _ 20.1 2 DFHLDVER CHAR(22) INIT('LD TABLE DFHEITAB 530. _ 21.1 2 DFHEIB0 FIXED BIN(15) INIT(0), _ 22.1 2 DFHEID0 FIXED DEC(7) INIT(0), _ 23.1 2 DFHEICB CHAR(8) INIT(' '); _ 24.1 1 DCL DFHEPI ENTRY, DFHEIPTR PTR; _ 25.1 1 DCL 1 DFHEIBLK BASED (DFHEIPTR), _ 26.1 02 EIBTIME FIXED DEC(7), _ 27.1 02 EIBDATE FIXED DEC(7), _ 28.1 02 EIBTRNID CHAR(4), _ 29.1 02 EIBTASKN FIXED DEC(7), _ 30.1 02 EIBTRMID CHAR(4), _ 31.1 02 EIBFIL01 FIXED BIN(15), _ 32.1 02 EIBCPOSN FIXED BIN(15), _ 33.1 02 EIBCALEN FIXED BIN(15), _ 34.1 02 EIBAID CHAR(1), _ 35.1 02 EIBFN CHAR(2), _ 36.1 02 EIBRCODE CHAR(6),
When you press PF3, CA InterTest for CICS displays the link‑edit information for the main program and its subroutines. You can change this information online.
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
Press PF5 to set composite support so that each program can be tested separately.
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|