IBM System 360 User Manual page 46

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

Advertisement

Your updated data set will look as follows:
00010
COMPLETION SCHEDULE
00020
STAGE 1
7/19
00030
STAGE 2
PART 1
8/15
00032
STAGE 2
PART 2
8/21
00034
STAGE 2
PART 3
9/15
00040
STAGE 3
9/29
To replace more than one line with a greater number of lines, you can
also use the DELETE subcommand to delete those lines and then use either
INPUT or INSERT to insert the replacement lines.
Use this procedure
when the data set does not have line numbers.
Use the CHANGE subcommand to change only part of a line or lines.
For example, to change the characters "DAILY INVENTORY" to "WEEKLY
REPORT" in line 12 of your data set, enter:
change 12/daily inventory/weekly report/
The "/" placed before the characters to be changed and the
replacement characters is a special delimiter that marks the beginning
of those sequences of characters.
The special delimiter can be any
character other than a number, blank, tab, comma, semicolon, apostropne,
parenthesis., or asterisk.
Make sure the character you select as a
special delimiter does not appear in the sequence of characters you
specify_
If you leave blanks between the last character to be replaced
and the special delimiter for the replacement
characters~
the blanks are
considered part of the characters to be replaced.
The special delimiter
need not appear at the end of the replacement characters unless other
parameters are to follow.
Instead of using a line number you can use an asterisk.
For example
if the change is to be made to the line indicated by the current line
pointer. enter:
change
*
xdaily inventoryxweekly reportx
You can have the system search for a sequence of characters in a
range o£ lines rather than in one line.
You can indicate the range of
lines by giving the numbers for the first and last lines of the range,
or by indicating the current line pointer and the number of lines you
want to have searched.
For
example~
if the-characters "DAILY INVENTORY"
appear somewhere between lines 15 and
19~
enter:
change 15 19 !daily inventory!weekly report!
If the characters appear within the 10 lines starting with the one
indicated by the current line pointer,. enter:
change
*
10 ?daily inventory?weekly report?
You can change the sequence of characters every time it appears
within the range of lines.
To do this specify the ALL operand after the
replacement sequence.
The special delimiter must be used to terminate
the replacement string before typing "all."
For example,
or
change 15 19 !daily inventory!weekly report!
all
change
*
10 !daily inventory!weekly report!
all
46
TSO Terminal User's Guide
(Release 21)

Advertisement

Table of Contents
loading

Table of Contents