Yes, that's exactly how NEXCLUDE works in TSPF. It's also easy to do in XEDIT.
Another simple but useful command that TSPF has is BOTTOM; equivalent to DOWN MAX. My finger macros keep tripping me up, so I may set up a personal command table. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 עַם יִשְׂרָאֵל חַי נֵ֣צַח יִשְׂרָאֵ֔ל לֹ֥א יְשַׁקֵּ֖ר ________________________________________ From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> on behalf of Bob Bridges <00000587168ababf-dmarc-requ...@listserv.ua.edu> Sent: Saturday, February 8, 2025 5:00 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Idea received: Provide a negative exclude command for EDIT and VIEW External Message: Use Caution 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