160 IBM Application Development Tools for z/OS and OS/390
4.1 Start by validating your software levels
To effectively use DTCU, you must have the correct levels of software installed
on your system. The Authorized Program Analysis Reports (APARs) should be
reviewed to identify the corresponding Program Temporary Fix (PTF)
appropriate for your operating environment.
4.2 Overview
In this section, we describe what DTCU needs, and what steps are needed to run
it.
4.2.1 What does DTCU require
For coverage analysis, DTCU requires:
򐂰 The listings created by the compilers and the assemblers. These products
offer options that enables you to include assembler statements in the listings.
These assembler statements in the listing are needed by DTCU.
򐂰 The object module or load modules. DTCU will create copies with inserted
breakpoints.
4.2.2 Running DTCU consists of the following steps
1. Setup:
a. Compile the source code, using required compile or assembler options.
b. Generate DTCU JCL using the DTCU ISPF dialog:
Edit the DTCU control file.
Create the setup JCL.
Create the start monitor JCL.
Create the report or summary JCL.
c. Edit the link edit JCL to include the modified object.
d. Edit the program invocation JCL to point to the modified load module.
2. Execution:
a. Run the setup JCL.
b. Run the link edit JCL.
c. Run the JCL to start a monitor session.
d. Run your application using the modified load modules.
e. stop the monitor session.
Chapter 4. Introduction to Debug Tool Coverage Utility 161
3. Report
a. Run the report or summary JCL.
Figure Figure 4-1 on page 161 shows a diagram of the entire process
Figure 4-1 DTCU flow

Get Introduction to the IBM Application Development Tools on z/OS and OS/390 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.