Using the COBOL FD Translator

The COBOL FD Translator is a productivity tool that enables you to write reports from files described to COBOL. It creates Master Files automatically, based on information from the specified COBOL File Description (FD) and your translation selections.

Topics:

Translator Prerequisites

Isolating the COBOL FD

Executing the COBOL FD Translator

Entering Selections

Generating the Master File

Customizing the Master File

The COBOL FD Translator may be executed interactively with online menus or as either an MVS batch job or VM/CMS EXEC procedure. If you choose to execute the Translator interactively, see Entering Selections for an example of the Translator menu from which you can enter your selections.

There are five basic steps for translating a COBOL FD.

Step

See ...

1.

Isolate the COBOL file description. Using any standard editor, such as TED, SPF, TSO (Edit), or CMS XEDIT, extract the file description from the COBOL program and place it in a separate dataset.

Isolating the COBOL FD.

2.

Execute the Translator. You may execute the Translator in the foreground or background.

Executing the COBOL FD Translator.

3.

Enter your selections. On the Translator menu, indicate the current location of the COBOL file description, the target location for the generated Master File, and any special processing options you wish to use.

Entering Selections.

4.

After you complete the Translator menu selections, the Translator generates the Master File and stores it in the specified location.

The Translator also generates up to four reports that enable you to evaluate the process.

Generating the Master File.

See also Translator Reports.

5.

Customize the Master File. Using the facilities of TED, SPF, TSO (Edit), or CMS XEDIT, edit the generated Master File to add or modify information.

Customizing the Master File.


Information Builders