DG Interactive COBOL Source Compatibility | Converting DG COBOL Data Files |
Source programs written in DG Interactive COBOL CRT format cannot be accepted by this COBOL system unless you first amend them using a source file formatter. This must alter the margins in these programs, and split any lines in them containing more than 72 characters, into lines of 72 characters or fewer. The reform5 facility is a source file formatter, supplied with Conversion Series 5, which reformats source programs in CRT format so that they are compatible with the requirements of this COBOL system. Any similar source file formatter can be used to reformat your programs if you do not wish to use reform5.
If you wish to supply DG Interactive COBOL programs written in CRT format to the file conversion utility Convert5, you must amend them first using reform5, or a similar source formatter.
To invoke reform5 enter the command:
reform5
Once you have invoked reform5 the following message is displayed on your screen:
type in input file
In response, type the name of the source file which you wish to reformat, then press Enter. The following message is displayed on your screen:
type in output file
The name which you type in reply to this message is the name given to the reformatted source file. This file is now in a format which is compatible with the requirements of this COBOL system. Its name must not be the same as that of the input file.
To run reform5 in batch mode enter the command:
reform5 input-file output-file
where input-file
and output-file
are as described above.
The reform5 utility amends your source program according to the following rules:
If you wish, you can use any source formatter that amends your source program according to the above rules; you are not restricted to using reform5.
Copyright © 1999 MERANT International Limited. All rights reserved.
This document and the proprietary marks and names
used herein are protected by international law.
DG Interactive COBOL Source Compatibility | Converting DG COBOL Data Files |