Changing data within a label range
You can limit the effect of the CHANGE command to a range of rows, identified by a pair of labels indicating the first and last rows to be searched for the data you want to change.
For example, in the range of rows from the label .LABA to the end of the data,
the following command changes the next occurrence of
the string
EVILin column number 4 to the string
GOOD:
CHANGE EVIL GOOD #4 .LABA .ZLST
And, in the range of rows from the current cursor position to the label .LABB,
the following command changes all occurrences of
the value 48 in column number 3 or column number 11 to the value 148:
CHANGE ALL 48 148 #3,#11 .ZCSR .LABB
Related tasks
Related references