Re: XEDIT equivalent to ISPF C - OO/OO (copy overlay)

2022-02-23 Thread Seymour J Metz
nframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Tony Thigpen [t...@vse2pdf.com] Sent: Wednesday, February 23, 2022 7:11 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: XEDIT equivalent to ISPF C - OO/OO (copy overlay) You should continue the conversation over on the VM list. I use a

Re: XEDIT equivalent to ISPF C - OO/OO (copy overlay)

2022-02-23 Thread Tony Thigpen
You should continue the conversation over on the VM list. I use a system that generates the AUX files dynamically for each "xedit with update function". There is only one CTRL file, which has: TEXT MACS FIXES AUXLIST My personal source control system uses SFS with program level locks which

Re: XEDIT equivalent to ISPF C - OO/OO (copy overlay)

2022-02-23 Thread Binyamin Dissen
Thanks to all. SIDCODE does the job. Now I have to remember how to make AUX files. I can make CNTRL files, but multi-source fixes would eventually drive me to a separate CNTRL per source. On Mon, 21 Feb 2022 18:49:22 -0500 Phil Smith III wrote: :>I think I misread the requirement. Try this

Re: XEDIT equivalent to ISPF C - OO/OO (copy overlay)

2022-02-22 Thread Seymour J Metz
To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: XEDIT equivalent to ISPF C - OO/OO (copy overlay) On Mon, 21 Feb 2022 at 15:32, Phil Smith III wrote: > Binyamin Dissen wrote: > > >I am referring to the function where you type C on a line that has the > overlay > >data and then OO/OO

Re: XEDIT equivalent to ISPF C - OO/OO (copy overlay)

2022-02-21 Thread Tony Thigpen
Try the attached macro. It does not require the character loop that the one provided by Phil does. Tony Thigpen Tony Thigpen wrote on 2/21/22 18:34: If I understand your request, the XEDIT OVERLAY command is just backwards of what you want. It replaces the existing line with any character,

Re: XEDIT equivalent to ISPF C - OO/OO (copy overlay)

2022-02-21 Thread Phil Smith III
I think I misread the requirement. Try this version, which also handles block commands. /* PREFIXO K -- Kopy prefix subcommand O -- Overlay prefix subcommand OO -- Overlay block prefix subcommand Designed to be used with: COMMAND SET PREFIX SYNONYM K PREFIXO COMMAND

Re: XEDIT equivalent to ISPF C - OO/OO (copy overlay)

2022-02-21 Thread Tony Thigpen
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

Re: XEDIT equivalent to ISPF C - OO/OO (copy overlay)

2022-02-21 Thread Phil Smith III
Tony Harminc wrote: > I use it all the time to put change markers on new lines. Of course with a >decent TN3270 program you can probably just as easily copy & paste them in >at that level. Ah! Of course that explains why I never wanted it for that purpose with XEDIT, where the SIDCODE can be

Re: XEDIT equivalent to ISPF C - OO/OO (copy overlay)

2022-02-21 Thread Tony Harminc
On Mon, 21 Feb 2022 at 15:32, Phil Smith III wrote: > Binyamin Dissen wrote: > > >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

Re: XEDIT equivalent to ISPF C - OO/OO (copy overlay)

2022-02-21 Thread Phil Smith III
Binyamin Dissen wrote: >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. I've used XEDIT since it

Re: XEDIT equivalent to ISPF C - OO/OO (copy overlay)

2022-02-21 Thread Binyamin Dissen
On Mon, 21 Feb 2022 16:25:05 + Rahim Azizarab <03f036d88eeb-dmarc-requ...@listserv.ua.edu> 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

Re: XEDIT equivalent to ISPF C - OO/OO (copy overlay)

2022-02-21 Thread Seymour J Metz
A user-written prefix macro; likely one is floating around. If not, it shouldn't be difficult to write one using COVERLAY or OVERLAY to do the heavy lifting. You'll need SET PREFIX SYNONYM in your profile. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3

Re: XEDIT equivalent to ISPF C - OO/OO (copy overlay)

2022-02-21 Thread Rahim Azizarab
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. regards; Rahim      On Monday, February 21, 2022, 07:24:39 AM CST, Binyamin Dissen