ITO insert three lines after the line for E.
FARRELL and before the line
for C.
LEVI, your listing would look like the following:
EDIT
top
down 5
input
*
INPUT
e. glotz dept 741
p. henry dept 333
h..
hill
dept R92
(null line)
EDIT
Note that after you enter the INSERT or the INPUT subcommand, EDIT
switches to input mode.
If your data set has line- numbers, you can use the INPUT or INSERT
subcommand to insert one or more lines of data between two existing
lines of the data set.
You can also indicate a smaller increment for
the new line numbers so that they fit between the line numbers of the
existing lines.
For example, assume you have the following data set:
00010
00020
00030
00040
1932
2579
4798
5344
$1.50
$1,.39
$1.75
$2.49
To insert three
lines
between lines 20 and 30, to have the first line
numbered 22, and to increment this number by two in the following lines,
your listing would look as follows:
EDIT
input 22 2
INPUT
00022
2795
$0.79
00024
3241
$2.81
00026
4152
$1.79
00028
(null line)
EDIT
The updated data set would look like this:
00010
1932
$1.50
00020
2579
$1.39
00022
2795
$0.79
00024
3241
$2.81
00026
4152
$1.79
00030
4798
$1,.75
00040
5344
$2.49
Another way to insert three lines between lines 20 and 30 is to use
the INSERT subcommand, as follows:
EDIT
top
down 2
insert
INPUT
00021
00022
00023
00024
EDIT
2795
0.79
3241
2.81
4152
1.79
(null line)
(Note that INSERT automatically increments the line numbers by one.)
Entering and Manipulating Data
43