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

If you call the TEDIT editor with a file name, it does not display the help screen. If the file you
specified exists, the TEDIT editor clears the screen and displays the first 24 lines of the file and a
banner on line 25. The banner contains:
The window number (you can open a second window)
The file name, fully qualified with node, volume, and subvolume names
The range of lines displayed (with “(BOF)” if you are at the beginning of the file and “(EOF)”
if you are at the end of the file)
The version of the TEDIT editor you are using
Example 229 TEDIT Banner
1) \NODE1.$VOL3.SUBVOL2.PAYROLS 1/24 (BOF) 1:79 D20.
If the TEDIT editor cannot find the PAYROLS file, it clears the screen and displays:
\NODE1.$VOL3.SUBVOL2.PAYROLS doesnt exist.
OK to create? Respond Y or N:
To exit the TEDIT editor, press Shift and F16 simultaneously.
These topics briefly describe the TEDIT editor’s second window, commands, and customizing. For
complete information about the TEDIT editor, see the PS TEXT EDIT Reference Manual and the PS
TEXT EDIT and PS TEXT FORMAT User’s Guide.
Topics:
Second Window
TEDIT Commands
Customizing the TEDIT Editor
Second Window
The TEDIT editor allows you to open a second window. Some of the tasks that the TEDIT editor
allows you to do with two windows are:
Display two parts of the same file (such as the first 10 lines and the last 10 lines)
Display two different files (such as the source text and a COPY library)
Copy text from one window to the other
Display only window 1, only window 2, or both windows
Close one window and open it to a third file
TEDIT Commands
Most TEDIT commands consist of a noun (such as LINE, SENTENCE, WINDOW,
BALANCED-EXPRESSION, or REGION) and a verb (such as INSERT, MOVE, COPY, DELETE,
FORWARD, BACKWARD, SEARCH, REPLACE, or UNDO). Some TEDIT commands also include
a repeat count or parameters. Many nouns and verbs are persistent—that is, you can specify a
noun (such as LINE) and apply a series of verbs to it (such as COPY, MOVE, DELETE), or you can
specify a verb and apply a series of nouns to it; for example, the command
DELETE; LINE; LINE; LINE
deletes the line the cursor is on and the two lines after it.
750 Creating and Compiling HP COBOL Source Programs