Debug CICS Composite Programs

A composite module is a load module that consists of separately compiled (or assembled) parts brought together when the module is link-edited. Main program is the part of the composite module that receives control from CICS. The remaining parts of the composite module are called as subprograms. For more information about composite support, see the CA InterTest for CICS User Guide.

To debug a composite module

  1. Create a CICS project.
  2. Import the PROTSYM of the main program into the Unmonitored List of the project.
  3. Select the project name in the InterTest Debug view.
  4. Click the Connect to CICS Region icon on the InterTest Debug view toolbar.
  5. Right-click the program and select Set Composite.

    The Composite Setup dialog shows a list of subprograms found in the link-edit information.

  6. Select a module in the subprograms list to open the Select Symbolic dialog.

    If there are two or more PROTSYM data sets, then select the data set you want to use.

  7. Click one of the following buttons to specify where you want to load the PROTSYM data set:
  8. Repeat step 7 for all the subprograms you want to import.
  9. Click Finish to import the subprograms or click Cancel to end the setup.

    After the program is imported, the main program and all the programs designated with Use will appear under Monitored list of the selected project in the CA InterTest Debug view.

You would want to set some unconditional breakpoints in the main and sub-programs before you start the debug session. You are now ready to switch to your CICS region and enter the transaction associated with the main program.


Copyright © 2016 CA. All rights reserved.