IBM System 360 User Manual page 47

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

Advertisement

If you wish. you can have the system locate a sequence of characters
in a line and print that line up to those characters.
You can then type
new characters to complete the line and enter the new line when you
press the RETURN key.
For example, assume that you want to change the
characters "TUESDAY" to "THURSDAY" in the following line:
00015 PARTS DELIVERIES ARE MADE ON TUESDAY
Your listing will look as follows:
change 15 /tuesday
00015 PARTS DELIVERIES ARE MADE ON thursday
If the characters you want to change are in the line indicated by the
current line pointer, your listing would look like this:
change
*
/tuesday
00015 PARTS DELIVERIES ARE MADE ON thursday
You can also request that the system print out a specified number of
characters of a given line.
Then you can enter the characters you want
to replace the remaining characters in the line.
For example, you can
request that the first 26 characters of the line "PARTS DELIVERIES ARE
MADE ON TUESDAY" be printed:
change 15 26
00015 PARTS DELIVERIES ARE MADE after thursday
yOU
can have the system print the first several characters of a range
of lines.
This is particularly useful when you want to change a column
in a table.
For example. assume that you have the following data set:
00010
00012
00014
00016
00018
ENROLLMENT DATES
P. JONES
MAY 15
A. SMITH
MAY 31
J. DOE
JUNE 7
B. GREEN
JUNE 9
JUNE 12
JULY 19
JULY 17
AUGUST 3
If you want to change the data in the last column, which begins in
position 17, enter:
change
00010
00012
00014
0001~6
00018
10 18 17
ENROLLMENT DATES
P. JONES
MAY 15
A. SMITH
MAY 31
J. DOE
JUNE 7
B. GREEN
JUNE 9
june 25
july 23
july 31
august 10
If you want to change the data in the last column and the current line
pointer is at line 10"
enter:
change
*
5 17
00010
ENROLLMENT DATES
00012
P. JONES
MAY 15
june 24
00014
A. SMITH
MAY 31
july 22
00016
J. DOE
JUNE 7
july 30
00018
B. GREEN
JUNE 9
august 9
Entering and Manipulating Data
47

Advertisement

Table of Contents
loading

Table of Contents