Renumbering Lines Of Data - IBM System 360 User Manual

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

Advertisement

To replaqe characters after TUESDAY'S in line 30 of your data set .• you
can use the special-delimiter notation:
change 30 /tuesday's/
00030
THIS IS TUESDAY'S child
or the quoted-string notation:
change 30 'tuesday"s'
00030
THIS IS TUESDAY'S child
RENUMBERING LINES OF DATA
You can use the
RENUM
subcommand
to
assign line numbers to a data set
without line numbers, or to renumber the'iines of a data set with line
numbers..
If you enter:
renum
the system assigns new line numbers to all the lines of the data set.
The
firs~
line will be assigned the number
10
and subsequent lines will
be incremented by
10.
You can assign a number to the first line of the data set.
For
example, if you want the first line to have number
5,
enter the
following:
renum
5
The remaining line numbers will be
15.,25,,35,
etc.
You can specify an increment other than
10
in addition to the number
of the first line.
For example if you want the first line to be number
one., and the remaining line numbers to increase
by 3.,
enter:
renum
1 3
If your data set already has line numbers you can specify that
renumbering is to start at a given line.
You must also specify the new
number for this line (which must be equal to or greater than the old
line number) and the increment.
For example, if you want to start
renumbering at line
23,
and the new·line number is to be
25
and the
increment is 'to
be 5,
enter:
renum
25 5 23
If you use the RENUM subcommand to renumber your data set, the
renumber increment that you specify is used when you enter the INPUT
subcommand the next time during the Edit session.
For example, if the
following sequence occurred:
list
00010
LINE
1
OF DATA
00020
LINE
2
OF DATA
00030
LINE
3
OF DATA
END OF DATA
renum
3 3
input
INPUT
00012
line
4
of data
00015
line
5
of data
00018
(null line)
EDIT
Entering and Manipulating Data
49

Advertisement

Table of Contents
loading

Table of Contents