The File Conversion Process [ COBOL/HP-UX Compatibility Guide for the Series 700 and 800 ] MPE/iX 5.0 Documentation
COBOL/HP-UX Compatibility Guide for the Series 700 and 800
The File Conversion Process
Once you have supplied convert5 with the necessary parameters (see
Chapter 16 for details) it reads the specified source program, and
searches for certain key-words. It then extracts the necessary
information from the entries associated with these key-words.
The File-Control paragraph is the first entry for which convert5
searches. This entry must be located within your main source file, and
it must start in margin A. Once convert5 has found this entry, it looks
for the SELECT ... ASSIGN statement relating to the file or record which
you wish to convert to Micro Focus COBOL format. This statement can be
within the main source file, or within a copy file.
Having read and extracted the relevant information from the File-Control
entry and the SELECT ... ASSIGN statement, convert5 searches for the
following key-words: FD, WORKING-STORAGE, LINKAGE and PROCEDURE. These
words, together with their associated entries, can be contained either
within the DG Interactive COBOL source file, or within a copy file.
convert5 extracts the relevant information from all of the above
statements, which enables it to create a file conversion program. This
file conversion program is capable of loading a file in standard Micro
Focus format which has the same organization as that quoted in the SELECT
... ASSIGN statement in the original DG Interactive COBOL source file.
If the description of the DG Interactive COBOL data-file does not match
its actual format, when you attempt to run the file conversion program it
will report an appropriate error message and abort the current file
conversion. In this situation you must provide a source file description
that convert5 is able to process.
MPE/iX 5.0 Documentation