Composite support lets you take of all CA InterTest functions when you test composite modules. A composite module consists of separately compiled modules link‑edited in one load module. These modules may 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 COBOL program has several subroutines, some written in COBOL, 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.
Composite module monitoring is initiated by specifying the COMPOSITE command in the Source Listing Display screen before monitoring is activated (PF5) for the program.
CA InterTest for CICS V9.1 ‑ PROTSYM FILE SOURCE LISTING DISPLAY COMMAND ===> COMPOSITE Program= COBDEML Option # Stmt # Margin= 01 00004 DATA DIVISION. _ 00005 WORKING‑STORAGE SECTION. _ 00006 77 NUM‑CHOICES PIC S9(4) COMP VALUE +2. _ 00007 01 DFHAID COPY DFHAID. 00008* 00009* COPYRIGHT = 5655‑018 (C) COPYRIGHT IBM CORP. 1985 = 00010* THIS MODULE IS "RESTRICTED MATERIALS OF=IBM" 00011* LICENSED MATERIALS ‑ PROPERTY OF IBM = 00012* REFER TO COPYRIGHT INSTRUCTIONS = 00013* FORM NUMBER G120‑2083 = 00014* _ 00015 01 DFHAID. _ 00016 02 DFHNULL PIC X VALUE IS ' '. _ 00017 02 DFHENTER PIC X VALUE IS ''''. _ 00018 02 DFHCLEAR PIC X VALUE IS '_'. _ 00019 02 DFHCLRP PIC X VALUE IS '¦'.
When you specify the COMPOSITE command, CA InterTest displays the link‑edit information for the main program and its subroutines. You can change this information online, as shown in the following screen:
CA InterTest MONITORING COMMAND BUILDER - COMPOSITE SUPPORT 23 Define composite support for COBDEML Link-name Monitor-name Offset Length Language Comments _ COBDEML COBDEML 20 6DC IBMCOB 3.2 _ ASBIN25 ASBIN25 700 17C HLASM 5.0 _ CSBIN25 CSBIN25 880 5C4 IBMCOB 3.2 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 each program can be tested separately.
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|