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. 

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



________________________________________
From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> on behalf of 
Colin Paice <0000059d4daca697-dmarc-requ...@listserv.ua.edu>
Sent: Saturday, February 8, 2025 2:35 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Idea received: Provide a negative exclude command for EDIT and VIEW

External Message: Use Caution


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

On Fri, 7 Feb 2025 at 21:46, Seymour J Metz <sme...@gmu.edu> wrote:

> No, the intent is that it not show lines initially excluded.
>
> --
> 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: Friday, February 7, 2025 3:37 PM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: Idea received: Provide a negative exclude command for EDIT
> and VIEW
>
> External Message: Use Caution
>
>
> I have a REXX Edit macro entitled ONLY that excludes all then does a find,
> which I think is closer to the OP's inquiry.
>
> /* This REXX Edit macro simulates the old ONLY command at Volvo; you
> can say "ONLY args" to simulate "X ALL; FIND ALL args". */
> "ISREDIT MACRO (ARGS)"; address ISREDIT
> 'EXCLUDE ALL'
> 'FIND ALL' args
>
> /* Display counts. */
> if rc=0 then do;
>   '(VF VL) = FIND_COUNTS';
>   vf=vf+0; vl=vl+0; end
> else do; vf=0; vl=0; end
> call adhocmsg vf'/'vl,'Found' args vf 'times on' vl 'lines.'
> exit 0
>
> ---
> Bob Bridges, robhbrid...@gmail.com, cell 336 382-7313
>
> /* Give a man a program and you'll frustrate him for a day. Teach a man to
> program and you'll frustrate him for a lifetime.  -Francesco Napoletano
> @napolux */
>
> -----Original Message-----
> From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf
> Of Farley, Peter
> Sent: Tuesday, February 4, 2025 12:33
>
> Really?  What is so hard about EXCLUDE . . . followed by FLIP?  I use that
> frequently myself.
>
> ---
> From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf
> Of Seymour J Metz
> Sent: Tuesday, February 4, 2025 12:27 PM
>
> Provide e an NEXCLUDE command similar to FIND and EXCLUDE that excludes
> all lines in the specified range that do not match the specified picture,
> regex or string in the specied columns.
>
> ----------------------------------------------------------------------
> 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


----------------------------------------------------------------------
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