On Wed, 7 Oct 2020, at 19:37, Seymour J Metz wrote:
> Using global change command would work in, e.g., SuperWylbur, but the 
> change command in ISPF doesn't have the requisite functionality.

Are you saying you know what the macro (that Wayne referred to) does?

It's been a long time since I wrote any edit macros, but a quick peek at one
of those that I have a copy of shows that (to make a specific change to all
of a subset of lines) I typically used

- a find command to find the first line of the subset (or something just 
 before it), which I then labelled

- a find command to find the final line of the subset (or something just 
  after it), which I then labelled

- a change command along the lines of  

   change " one thing" "to another thing" .first  .final all


The point with this is that the searches for the first/final lines are done
by the editor, not by the macro's own logic, and the change command 
likewise. 


-- 
Jeremy Nicoll - my opinions are my own.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to