Combining files – HP Integrity NonStop H-Series User Manual
Page 151

Combining Files
Working With Larger Files
6–2
058060 Tandem Computers Incorporated
Combining Files
There are several ways you can combine files. You can use the window
feature you learned in previous sections, or you can use the READ and
WRITE commands. You use READ to transfer text from another file into
the one you currently have open. You use WRITE to transfer text into
another file from the one you currently have open. READ and WRITE
transfer a copy of the text you specify, they do not remove it from its
original file.
Start by using READ to combine the three files you created in Sections 3, 4,
and 5 into one file. Follow these steps:
1.
Create a file named DOCUMENT. Type the following command at the
command interpreter.
6> TEDIT DOCUMENT!
2.
After TEDIT creates the file, press *C. When you see the response line,
type the command shown in the following example.
Command: READ
3.
TEDIT displays the following response lines. Type the information
shown in the example.
Read from: TABLE
Range: ALL
The default range of
ALL copies all the
lines in the file.
Name the file you
want to transfer.