COBOL Manual for TNS/E Programs (H06.03+)

Creating and Compiling HP COBOL Source
Programs
HP COBOL Manual for TNS/E Programs520347-003
22-5
EDIT Files
EDIT Files
An EDIT format file (abbreviated “EDIT file”) is a specially formatted disk file. It is the
only type of file that the EDIT and TEDIT editors create or alter. The file-code value
that the EDIT or TEDIT editor assigns to an EDIT file is 101.
To use the EDIT or TEDIT editor on the contents of a non-EDIT file, create a new EDIT
file and copy the text of the non-EDIT file into it.
For more information about EDIT files, see the EDIT Users Guide and Reference
Manual.
Reference Format
Individual source program lines must follow a reference format that the compiler
accepts. There are two choices of reference format: Tandem and ANSI. Tandem
format, an HP extension to COBOL, is less restrictive than ANSI. The principal
differences between the Tandem and ANSI formats are in:
Margin locations
Permitted line lengths
Absence of sequence number and identification field in Tandem format
Continuation lines
Figure 22-1. Tandem Reference Format
Column:
Margin:
Area BArea A
Line
*n <= 132
21345678910...n*
Indicator Area
CA B R
VST500.vsd