If I understand your request, the XEDIT OVERLAY command is just
backwards of what you want. It replaces the existing line with any
character, other than a blank, found in the original 'copied line'.
This will take a little extra work. The original line needs to be saved,
the copied line needs to replace it, then the original line needs to
OVERLAY the now current line.
I have a PRFMERGE macro that I got somewhere that uses the standard
overlay function. Let me see if I can reverse it's function.
Tony Thigpen
Binyamin Dissen wrote on 2/21/22 12:40:
On Mon, 21 Feb 2022 16:25:05 +0000 Rahim Azizarab
<[email protected]> wrote:
:>In ISPF you would put X over the line numbers; and on the command line you would
type ==> c ABC XYZ all X
:>It results in changing all occurrences of ABC to XYZ on the lines marked by X
only.
I am referring to the function where you type C on a line that has the overlay
data and then OO/OO on the group of lines that you wish to overlay. The only
dependence on the data on the OO lines is that it will not replace a
non-blank.
:> On Monday, February 21, 2022, 07:24:39 AM CST, Binyamin Dissen
<[email protected]> wrote:
:>
:> What would the XEDIT equivalent to C OO/OO in ISPF which copies the marked
:>line, only overlaying blank characters the targeted lines?
:>
:>Sort of applying SET MASK to a group of existing lines.
--
Binyamin Dissen <[email protected]>
http://www.dissensoftware.com
Director, Dissen Software, Bar & Grill - Israel
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN