Creating a File

When you enter TED at the FOCUS command line, you are placed in TYPE. Although you may enter data in either TYPE or EDIT, you must first add lines or spaces to accommodate the text you plan to enter. For this reason, TYPE and EDIT are more suited to editing existing files (see TYPE and EDIT Functions).

INPUT, on the other hand, effectively opens the entire screen for entering text. For this reason, INPUT is the best choice for creating new files.

Note: Use INPUT within TYPE or EDIT to enter additional text in existing files by issuing the INPUT command. The additional space starts after the current line of the current file.

To enter INPUT, type INPUT at the command line. You can then type text on the screen. For example:

 FOCEXEC(EXAMPLE)                      SIZE=0

* * * TOP OF FILE * * *
THE INPUT MODE IS AN EASY WAY
TO ENTER DATA. SIMPLY TYPE THE DATA,
AND PRESS THE TAB OR RETURN KEY TO GO TO THE NEXT LINE.
WHEN YOU HAVE FINISHED, JUST PRESS THE ENTER KEY TWICE,
AND YOU WILL BE BACK IN TYPE OR EDIT MODE.





====> * * * INPUT ZONE * * *

Note: When entering text, use the Tab or Return key to move to the next line. When finished, press the Enter key twice.

The first time you press the Enter key, the screen view scrolls forward so you can type more data on a clear screen. The last line entered becomes the current line, and the cursor is positioned on the line below. When you press the Enter key again, TED returns you to your previous environment (EDIT or TYPE) and makes the last line entered the current line:

 FOCEXEC(EXAMPLE)                      SIZE=5

===== AND YOU WILL BE BACK IN TYPE OR EDIT MODE.
===== * * * END OF FILE * * *




====>

Information Builders