The Alternate Compile Listing Facility of DCD has one primary
function; to provide an alternative listing from the one produced
by the COBOL compiler. The information is provided in a way which will substantially
reduce the time spent in maintaining a COBOL program. Some reports
produced by the COBOL compiler (e.g. DMAP and PMAP reports) have no
corresponding reports produced by the Alternate Compile Listing Facility
of DCD. Whether using commercial packages such as COBOL/Aid, the
CA-Optimizer or just running the compiler stand alone, features are
available within DCD to produce one complete source listing for the
COBOL programmer to work from that save time and money.
The Alternate Compile Listing Facility is a
stand-alone system, which gives a complete set of reports for the
maintenance of COBOL programs. It is not, however, a COBOL compiler. As
such, a means is provided, named Compile Mode, in this Alternate Compile
Listing Facility for producing one report from the two steps listed here:
The
COBOL compile step
The
Alternate Compile Listing Facility Step
Some
advantages of using the Compile Mode in the Alternate Compile Listing
Facility are listed here:
The
COBOL programmer can have the advantage of using the Alternate Compile Listing
Facility every time he or she does a COBOL compile.
Extra paper is not generated. The source listing from the COBOL compiler
is removed and replaced with one from DCD. The DCD Condensed Cross
Reference Reports are much shorter than the COBOL compiler cross-reference
listings.
Information such as PMAP or DMAP reports or similar information on the
source listing produced when using COBOL software packages such as the
CA-Optimizer or COBOL/Aid is not lost, but is kept and listed
appropriately when using Compile Mode. (CA-Optimizer and COBOL/Aid are
mentioned under the heading “Other Features Supported”.)
The
running of the Alternate Compile Listing Facility is usually set to stop
and return just the compiler listing if E-level errors are found. This
is controlled by the JCL COND parameter within the DCD step.
The
sequence numbers (generated COBOL compiler numbers on the Source Listing
Report and referenced in other reports) are guaranteed to be the same on
all reports merged together, whether from the COBOL compile, the
software package like
CA-Optimizer, or the Alternate Compile Listing Facility.
The Alternate
Compile Listing Facility produces a Source Listing that documents data
element usage and logic flow through the program’s Procedure Division. It
allows for total traceability through the COBOL code. The remaining eleven
reports use very little paper and are described in greater detail in our
COBOL Reports section. Here are a listing of the COBOL reports provided with
DCD;