IBM System 360 User Manual page 42

Operating system: time sharing option terminal
Hide thumbs Also See for System 360:
Table of Contents

Advertisement

To insert one line of data after the current line, use the INSERT
subcommand with the insert-data operand.
For example:
list
*
TAKE ME OUT
insert to the ball game
The rules for separating inserted data from the subcommand name are
the same as for separating data from line numbers.
To insert more than one line, use the INSERT or INPUT subcommands.
INPUT or INSERT can be used for data sets with or without line numbers.
The INSERT subcommand inserts one or more lines of data following the
location pointed to by the current line pointer.
For example, assume that you have the following data set:
A. CARSON
DEPT A72
T. DANIELS
DEPT 792
C. DICKENS
DEPT 981
R. EMERSON
DEPT 245
E. FARRELL
DEPT B32
C. LEVI
DEPT 229
D. MADISON
DEPT D49
To insert three lines after the entry for E. FARRELL and before the
entry for C. LEVII you must first position the current line pointer at
the fifth line.
Your listing would look like this:
EDIT
top
down 5
insert
INPUT
e. glotz dept 741
p. henry dept 333
h. hill
dept R92
(null line)
EDIT
You must enter a null line to indicate the end of your input.
The INPUT subcommand is used in a manner similar to the INSERT
subcommand if your data set does not have line numbers.
Use an asterisk
in the INPUT subcommand to indicate that the lines of input that follow
are to be inserted in the location following the current line pointer.
For example, assume that you have the following data set:
A. CARSON
DEPT A72
T. DANIELS
DEPT 795
C. DICKENS
DEPT 981
R. EMERSON
DEPT 245
E. FARRELL
DEPT B32
C. LEVI
DEPT 229
D. MADISON
DEPT D49
42
TSO Terminal User's Guide
(Release 21)

Advertisement

Table of Contents
loading

Table of Contents