But it's SET PENDING that I really miss, while in XEDIT I miss having two kinds 
of shift.

-- 
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3
עַם יִשְׂרָאֵל חַי
נֵ֣צַח יִשְׂרָאֵ֔ל לֹ֥א יְשַׁקֵּ֖ר



________________________________________
From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> on behalf of 
Phil Smith III <li...@akphs.com>
Sent: Monday, February 10, 2025 11:01 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Idea received: Provide a negative exclude command for EDIT and VIEW

External Message: Use Caution


Yes. There are various user-written XEDIT macros called ALSO or INCLUDE that do 
this; my approach has always been more like:
all/whatever/
tall
top
/somethingelse/sel1
repeat *
tall

where TALL XEDIT is a macro I wrote 40++ years ago that interrogates the 
DISPLAY level and toggles between 0 0 and 0 n. My approach is wordier 
(commandier?) than ALSO but more powerful, e.g., I can do things like:

/:h1/1sel1

or

bottom
-/something/-1sel1
repeat -*

...which an ALSO might handle, might not. And I do those ALL the time when 
analyzing/cleansing data.

The power of SET SELECT/SET DISPLAY in XEDIT is quite amazing; I'm 99.44% sure 
Xavier knew about ISPF's support and expanded on it. Shoulda patented it.

-----Original Message-----
From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of Bob 
Bridges
Sent: Saturday, February 8, 2025 5:01 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Idea received: Provide a negative exclude command for EDIT and VIEW

It's taken me this long to finally understand the difference between your 
request and my (intended) solution.  You want a command that ~additionally~ 
excludes lines that don't match the arg - in other words, if I issue a command 
like this:

  nexclude txt

...it should search through the dataset looking only at NX lines and excluding 
any that don’t contain "txt".  Any lines that have "txt" but were already 
excluded should stay excluded.

---
Bob Bridges, robhbrid...@gmail.com, cell 336 382-7313

/* There are only two kinds of people in the end: those who say to God "Thy 
will be done", and those to whom God says, in the end, "THY will be done".  
-from _The Great Divorce_ by C S Lewis */

-----Original Message-----
From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of 
Seymour J Metz
Sent: Saturday, February 8, 2025 09:08

That, however, is not what NEXCLUDE does in TSPF nor what is in the suggestion 
I posted. NEXCLUDE leaves everything excluded that was previously excluded. I 
know of no way to simulate it without a macro that goes through the specified 
range line by line looking for non matches.

________________________________________
From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> on behalf of 
Colin Paice
Sent: Saturday, February 8, 2025 2:35 AM

I haven't been following too closely but I find x all; F ABC flip shows me all 
rows without ABC

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@listserv.ua.edu with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to