Compaq AAQ2G1FTK Marine Radio User Manual


 
14
Using the REFORMAT Utility
The REFORMAT Utility converts source programs between terminal format and
conventional ANSI format. Consider the two formats and their characteristics:
Terminal format eliminates the line-number and identification fields of ANSI
format and allows horizontal tab characters and short lines. It saves disk
space and decreases compile time.
Conventional ANSI format produces source programs compatible with the
reference format as defined in the ANSI-85 COBOL Standard.
The Compaq COBOL Reference Manual describes both formats in detail.
On OpenVMS, REFORMAT is installed by the Compaq COBOL installation
procedure (if you answered "yes" to the query during installation), and is placed
in the following location:
SYS$SYSTEM:REFORMAT.EXE
14.1 Running the REFORMAT Utility
On OpenVMS, you may define REFORMAT as a foreign command as follows:
$ REFORMAT :== "$SYS$SYSTEM:REFORMAT.EXE"
To run the REFORMAT Utility, type the following command:
On OpenVMS
$ reformat
On Tru64 UNIX
% reformat
The following example shows a typical session using the REFORMAT Utility (the
command line prompt is omitted):
Using the REFORMAT Utility 141