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

Figure 28 Tandem Reference Format
Figure 29 ANSI Reference Format
You can write a COBOL source program entirely in either format or in a mixture of both. The
default is Tandem format. Unless you direct the compiler to accept ANSI format, the compiler
assumes the entire program is in Tandem format.
EDIT Editor
The EDIT editor is not as powerful as the TEDIT editor, but it has some useful abilities that TEDIT
either lacks or does not perform as simply. Examples of both cases are in this explanation.
CAUTION: The EDIT editor works on your original file, not on a copy of it. If you want to provide
for the possibility of discarding an entire editing session, you must make a backup copy yourself;
that is, the EDIT editor does not automatically create a backup file. You can make the backup copy
with the EDIT command PUT.
To call the EDIT editor, type its name at the TACL prompt (case is unimportant):
93> EDIT
The EDIT editor identifies itself (including version and RVU date) and prompts you with an asterisk:
TEXT EDITOR - T9601D10 - (08JUN92)
*
To retrieve an EDIT file to work on (in this example, PAYROLS), use the GET command:
*GET PAYROLS
CURRENT FILE IS \NODE1.$VOL3.SUBVOL2.PAYROLS
You can also call the EDIT editor with a file name:
94> EDIT PAYROLS
TEXT EDITOR - T9601D10 - (08JUN92)
CURRENT FILE IS \NODE1.$VOL3.SUBVOL2.PAYROLS
748 Creating and Compiling HP COBOL Source Programs