Debugging Functions
This section discusses how to test load modules that consist of multiple programs or control sections (CSECTs). The sections of the section show how to access source code and set breakpoints in calling and called programs, execute a program with multiple CSECTs, and return to the calling program. It also provides ways to select and exclude CSECTs.
Many modules consist of individual source members that are compiled or assembled separately, then link-edited together to create a load module. Code Debug CICS lets you debug these CSECTs at the source level, even when the CSECT is not defined in your program resources.
The automatic CSECT support facility provides screens that list the CSECTs associated with each program. You choose the program for which you need to see the source. Facilities are also available so that IBM or vendor-supplied CSECTs may be excluded from automatic CSECT processing.
In this section, you will set a breakpoint in the calling program CWDEMC, then access the source code for CWLESUBA and set a breakpoint there. CWLESUBA is a subroutine linked into CWDEMC that does not have an entry in the program resources to define it to CICS. After setting the breakpoint, you will execute the transaction that runs CWDEMC and step through the source in CWLESUBA.
This section provides information about the following topics: