Replacing Data In A Data Set - IBM System 360 User Manual

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

Advertisement

The updated data set would look like this:
00010
1932
1.50
00020
2579
1.39
00021
2795
0.79
00022
3241
2.81
00023
4152
1.79
00030
4798
1.75
00040
5344
2.49
If you do not change the increment, and there is no room for the new
lines, you receive an error message.
If you wish, you can renumber the
lines of your data set.
This procedure is explained in the section
ftRenumbering Lines of Data".
To enter lines at the end of the data set, enter the INPUT subcommand
without operands..
If the data set has line numbers you will be prompted
with the line number.
For example:
EDIT
input
INPUT
00050
00060
00070
EDIT
6211
$3.95
7199
$0.85
(null line)
REPLACING DATA IN A DATA SET
You can replace an entire line, or a sequence of characters in a line or
in a range of lines.
If you are only replacing one line of data, you do not need a
subcommand.
Indicate only the line number or an asterisk.
For example,
if you want to replace the contents of line 70 with "SEVERAL REPORTS
WERE MADE", enter:
70 several reports were made
If you want to replace the contents of the line indicated by the current
line pointer, enter:
*
several reports were made
The characters you want to enter must be separated from the line
number or the asterisk by a single blank or a comma.
Any additional
blanks or commas are considered to be part of the input data.
You may
optionally use the tab key to separate characters from the line number
.or asterisk..
In this case all blanks, including the first, resulting
frem the tab will be part .of your input data.
The number .of blanks
resulting frem the tab is determined by the logical tab setting.
The
logical tab setting results frem the TABSET sub command or the default
tab setting.
Yeu can alse replace lines of data when you use the INPUT subcemmand.
If yeu use the R
eperand~
the lines starting with the line indicated by
the line number .or the asterisk are replaced by tne lines yeu enter.
Fer example, assume that you have the fellowing data set:
COMPLETION SCHEDULE
STAGE 1
7/19
STAGE 2
8/15
STAGE 3
9/29
44
TSO Terminal User's Guide
(Release 21)

Advertisement

Table of Contents
loading

Table of Contents