
360 Using IBM Application Development Tools for z/OS and OS/390
17.1 Preparing a C or C++ program for debugging
Preparations for this book were done with C/C++ for z/OS V1 R2 and Debug Tool 4.1. The
rest of this section (4.1) assumes this environment.
The TEST option is used by the C/C++ compiler option to enable debugging for a Batch
compile, a TSO compile, or a compile with the Debug Tool Utilities (DTU). The TEST option
has many suboptions, but for optimal debugging, we recommend that you always take the
default. A sample compile of the C IVP program is shown Example 17-1.
Example 17-1 Sample compile
//REDBK1A JOB ,
// MSGLEVEL=(2,0),CLASS=A, ...