440 Using IBM Application Development Tools for z/OS and OS/390
23.1 Overview
The ability to compile old COBOL programs using the convert and compile option of Debug
Tool Utilities and Advanced Functions provides you with an easy way of debugging old
COBOL programs, while giving you the option of using the converted source and new
compiler, or continuing to use the old source and old compiler. This section describes what
the convert and compile option needs, and what steps are required to set it up.
23.1.1 What do the conversion tools need
To successfully convert an old program to ANSI85 standard, you need:
The source code composing your application
Any copy books associated with the application
23.2 Setting up for convert and compile
In this part, we want to show the needed steps to convert an OS/VS COBOL Program to the
ANSI85 standard. We start from DTU, either by selecting DTU directly from ISPF, or by
issuing from ISPF, option 6 (TSO commands) by the following command:
EXEC ‘D/T_high_lvl_qualifier.SEQAEXEC(EQASTART)’
From the main DTU panel, select 1: Program Preparation as shown in Figure 23-1.
Figure 23-1 Getting to the COBOL Convert and Compile interface
Note: If you intend to do your conversion and/or compilation in batch, choose option 0 and
verify your job card before selecting option 1 from the main menu.
Chapter 23. Compiling and converting old COBOL code with Debug Tool Utilities 441
This will present you with the Debug Tool Program Preparation Menu as shown in
Figure 23-2.
Figure 23-2 Debug Tool Program Preparation Menu
23.2.1 Ensure that the Compiler and Converter Settings are correct
At this point you should probably verify the settings for the Enterprise COBOL Compiler and
the COBOL and CICS Command Level Conversion Aid. To do this you simply page forward
(F8) and select option S as shown in Figure 23-3.
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.