HP 3000 Manuals

Running the File Conversion Program [ Micro Focus COBOL Compatibility Guide ] MPE/iX 5.0 Documentation


Micro Focus COBOL Compatibility Guide

Running the File Conversion Program 

When you run the file conversion program, it converts those data files
which conform to the description given in the FD and SELECT...ASSIGN
entries in the original DG Interactive COBOL source program.

The command to run your file conversion program is the same command as
for running any other intermediate code file on your system.  Refer to
your COBOL System Reference for details.

When you run the program interactively, you receive the following prompt:

Please enter the input-data-filename 

where the name you enter is a complete and unambiguous specification
(including the file extension) of the specific data file which you wish
to convert from DG Interactive COBOL format.  This file must comply with
the file type as specified in the FD and SELECT...ASSIGN entries in your
original DG Interactive COBOL source program.  It must be in the standard
file format for your operating system, and if it is in CRT format, you
must supply it to a source file formatter before passing it to the file
conversion program, as described in the chapter Reformatting a DG COBOL 
Source File.

Once you have entered the name of the DG Interactive COBOL data file that
you want to convert, the following prompt is displayed on your screen:

Please enter the output-data-filename 

The name which you enter in response to this message will be the name
that the converted data file will take.  This file-name must not be the
same as the input data file-name.

The file conversion program now proceeds to convert the data file from DG
Interactive COBOL format.  If any problems are encountered during this
process, a suitable error message is displayed on your screen.  See the
chapter Error Messages for a full list of possible errors you may
receive.

Alternatively, you can run the file conversion program in batch mode.
When you run the file conversion program in batch mode, you must add
to the end of the command line the input-data-filename and the
output-data-filename, which are as specified above.



MPE/iX 5.0 Documentation