Positioning The Current Line Pointer; Updating 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 FIND subcamnand starts looking for the sequence of characters
beginning with the line at which the pointer. is located..
Therefore,
unless you are sure the characters are in a line following the one
indicated by the
pointer~
you should use the TOP subcommand to move the
pointer to the beginning of the data set.
For example:
top
find xplaced before entry
Figure 6 shows a data set used to illustrate the examples of
positioning the current line pointer.
Although this data set has line
numbers"
they are not used in the examples.
r----------------------------------------------------------------------,
I
00010
TEMPERATURE DATA FOR 7/29/70
I
I
00020
HIGHEST, 90 AT 12:30 P.M.
I
I
00030
LOWEST, 73 AT 5:40 A.M.
I
I
00040
MEAN, 83
I
I
00050
NORMAL ON THIS DATE, 77
I
I
00060
DEPARTURE FROM NORMAL, +6
I
I
00070
HIGHEST TEMPERATURE THIS DATE, 99 IN 1949
I
I
00080
LOWEST TEMPERATURE THIS DATE, 59 IN 1914
I
I
00090
TEMPERATURE HUMIDITY INDEX., 81
I
L __________________________________________________
~
___________________
J
Figure
6.
Sample Data Set
Assume that you do not know the present location of the current line
pointer, and would like to move i t to the' fifth line (00050).
Enter:
top
down
5
To move the pointer from the fifth line (00050) to the third line
(00030), enter:
up 2
To move the pointer to the line that contains FROM NORMAL enter:
find xfrom normal
To move the pointer to the last line (00090), enter:
bottom
Updating a Data Set
The subcommands of the EDIT command all,ow you to update a data set.
That is:, they allow you to:
• Delete data from a data set.
• Insert data in a data set.
• Replace data in a data set.
• Renumber lines of a data set.
These functions are described in the following paragraphs.
40
TSO Terminal User's Guide
(Release 21)

Advertisement

Table of Contents
loading

Table of Contents