Generating the Master File

Once you have filled out the Translator menu, press the Enter key to initiate processing. All of the screen options are checked for accuracy. A list of possible error messages is found in Warning and Error Messages. After all entries are validated, the Translator attempts to parse the COBOL FD and create the Master File. Upon successful completion, the following message is displayed:

PROCESSING COMPLETED.

In this section:

Viewing Translator Output and Results

Checking the Master File

Saving the Reports to Permanent Files

If informational messages are generated, the following message is displayed:

PROCESSING COMPLETED.  PLEASE CHECK REPORTS FOR MESSAGES.

If warning messages are generated which require customization of the generated Master File, the following message is displayed:

PROCESSING COMPLETED.  RESULTS MAY REQUIRE CUSTOMIZATION, CHECK REPORTS.

If errors are found, the following message is displayed:

ERROR/WARNING MESSAGES GENERATED.  PLEASE CHECK REPORTS.

Whether or not an error message is generated, we strongly recommend that you view the Translator reports after completing translation. The content of these reports is described in Translator Reports.


Top of page

Viewing Translator Output and Results

The output of the Translator (either the Master File or the reports) can be viewed immediately from the Translator menu by pressing the appropriate function key (see Function Keys). The files are displayed with the TED editor. To exit TED without making any changes, press the PF3 key. To end the TED session at any time after making changes, type QQUIT on the command line and press the Enter key. Press the PF7 and PF8 keys to scroll backwards and forwards, respectively. You may get help for the TED editor at any time by pressing the PF1 key twice or by typing HELP on the command line. See Using TED to Edit or Isolate the COBOL FD for more information on TED.


Top of page

Checking the Master File

To check the generated Master File for errors and to display the structure of the file, press the PF6 key. Please note that the Translator makes every effort to describe the COBOL FD accurately; however, it may not be able to handle every situation properly. These occurrences can be easily corrected by manually editing the Master File.

In MVS, the dataset where the Master File is generated must be pre-allocated to ddname MASTER, EDAMFD, or HOLDMAST for this option to execute properly. If not, the following error message is displayed:

(FOC205) DESCRIPTION NOT FOUND FOR FILE NAMED:

Top of page

Saving the Reports to Permanent Files

In VM/CMS, the Translator reports are created on the users 'A' mini disk. Each execution of the Translator overwrites the last set of reports, but the final set is retained after exiting the Translator.

In MVS, the Translator reports are created in temporary datasets. Each execution of the Translator overwrites the last set of reports, but they are retained as temporary files after exiting the Translator. There are two methods that you can use to save the reports in a permanent dataset, one from the Translator menu, and one from FOCUS:


Information Builders