Chapter 1. Application development tools for z/OS and OS/390 9
User exits
Fault Analyzer provides you with entry points to user exits, which can be written to perform a
variety of tasks when application program errors occur. These user exits include the ability to:
򐂰 Override Fault Analyzer options
򐂰 Reformat a dump to include site-specific information.
򐂰 Notify specific people about an application or system failure
򐂰 Suppress duplicate dumps and record the number of instances.
We provide you with samples of two REXX user exits for you to use “as-is” or to modify for
your needs.
1.6 IBM Debug Tool and Utilities
IBM Debug Tool for z/OS V4.1 is an interactive source-level debugging tool. It helps you
examine, monitor, and control the execution of application programs written in C/C++,
COBOL, PL/I, Assembler, or Java (when each is compiled with the appropriate IBM compiler),
on a z/OS or OS/390 system. The support of other languages is provided by using the
disassembly view. Debug Tool supports debugging of applications in various subsystems
including CICS, IMS, and DB2.
Debug Tool Utilities and Advanced Functions for z/OS V4.1 assists the developer in the
source-level debugging for compiled applications. Building upon the function in IBM Debug
Tool for z/OS V4.1, it provides even more debugging capability, helping to maximize the
availability of z/OS and OS/390 applications. Debug Tool Utilities and Advanced Functions
V4.1 offers a number of usability enhancements and a new debug utility for IMS.
1.6.1 Overview
Debug Tool requires you to compile your application program with the TEST compile option
and, depending on the execution environment, link-edit the appropriate object modules. You
use the TEST runtime option then execute your application program, which starts the Debug
Tool session.
Because you have the ability to directly manipulate variables in storage during a debugging
session, a variety of different logic paths can be tested within a short period of time. You can
spend more time drilling down into the complex aspects of your application programs for
greater understanding.
IBM Debug Tool Utilities and Advanced Functions provides you with:
򐂰 The tools to convert, recompile and debug OS/VS COBOL applications to create
Enterprise COBOL or COBOL for OS/390 and VM applications, thus extending the life of
your existing code
򐂰 A code coverage utility to report which code statements have been exercised by your test
cases.
1.6.2 Major functions
Here we list the major functions and capabilities of Debug Tool.

Get Using IBM Application Development Tools for 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.