Running Convert5 | Error Messages |
When Convert5 has successfully created a file conversion program, you must submit this to this COBOL system to create a file you can run under that system. This executable file conversion program converts the specified data files of the type described in the original DG Interactive COBOL program from DG Interactive COBOL format to Micro Focus COBOL format. The following sections describe how you can do this.
To prepare an executable file conversion program, you need to submit the program to this COBOL system as you would any other COBOL program. Refer to your Object COBOL User Guide for details. You should also submit any subprogram you have named which identifies records to this COBOL system.
If the original DG Interactive COBOL source program which you supplied to Convert5 was not syntactically correct, Convert5 may have interpreted it incorrectly. In this case you may receive an error when you try to submit the file conversion program to your COBOL system.
Once you have obtained an intermediate code file, you are ready to run it.
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 Object COBOL User Guide 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.
Copyright © 1999 MERANT International Limited. All rights reserved.
This document and the proprietary marks and names
used herein are protected by international law.
Running Convert5 | Error Messages |