I think some version of this will do it.. update NEWDD with the PDS/PDSE,
use EXCLUDE for 1 or 2 and run SRCHFOR.

http://mainframe-tips-and-tricks.blogspot.com/2011/12/superc-how-to-exclude-commented-lines.html

Rob Schramm



On Wed, Sep 12, 2018 at 3:11 PM Gibney, Dave <gib...@wsu.edu> wrote:

> S *
>
> Then L exception and remove the S
>
> > -----Original Message-----
> > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU]
> > On Behalf Of Jousma, David
> > Sent: Wednesday, September 12, 2018 12:09 PM
> > To: IBM-MAIN@LISTSERV.UA.EDU
> > Subject: Re: Search for utility
> >
> > Copy all but those 1 or 2 programs to a temp PDS and scan that?
> >
> > -----Original Message-----
> > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU]
> > On Behalf Of McCabe, Ron
> > Sent: Wednesday, September 12, 2018 2:53 PM
> > To: IBM-MAIN@LISTSERV.UA.EDU
> > Subject: Search for utility
> >
> > **CAUTION EXTERNAL EMAIL**
> >
> > **DO NOT open attachments or click on links from unknown senders or
> > unexpected emails**
> >
> > Hello,
> >
> > Question from our developers...is there an easy way to search for a
> string in
> > all COBOL programs except for 1 or 2?  So what they would like to do is
> > search for a string in all but 1 or 2 of the COBOL programs in a PDS and
> they
> > don't want to have to "select" the programs from the list since there
> are over
> > 400 programs in the PDS.
> >
> > Thanks,
> > Ron McCabe
> > Mutual of Enumclaw
> >
> >
> > Confidentiality Notice: This e- mail and all attachments may contain
> > CONFIDENTIAL information and are meant solely for the intended
> recipient. It
> > may contain controlled, privileged, or proprietary information that is
> > protected under applicable law and shall not be disclosed to any
> > unauthorized third party. If you are not the intended recipient, you are
> > hereby notified that any unauthorized review, action, disclosure,
> distribution,
> > or reproduction of any information contained in this e- mail and any
> > attachments is strictly PROHIBITED. If you received this e- mail in
> error,
> > please reply to the sender immediately stating that this transmission was
> > misdirected, and delete or destroy all electronic and paper copies of
> this e-
> > mail and attachments without disclosing the contents. This e- mail does
> not
> > grant or assign rights of ownership in the proprietary subject matter
> herein,
> > nor shall it be construed as a joint venture, partnership, teaming
> agreement,
> > or any other formal business relationship.
> >
> > ----------------------------------------------------------------------
> > For IBM-MAIN subscribe / signoff / archive access instructions, send
> email to
> > lists...@listserv.ua.edu with the message: INFO IBM-MAIN **CAUTION
> > EXTERNAL EMAIL**
> >
> > **DO NOT open attachments or click on links from unknown senders or
> > unexpected emails**
> >
> >
> > This e-mail transmission contains information that is confidential and
> may be
> > privileged.   It is intended only for the addressee(s) named above. If
> you
> > receive this e-mail in error, please do not read, copy or disseminate it
> in any
> > manner. If you are not the intended recipient, any disclosure, copying,
> > distribution or use of the contents of this information is prohibited.
> Please
> > reply to the message immediately by informing the sender that the message
> > was misdirected. After replying, please erase it from your computer
> system.
> > Your assistance in correcting this error is appreciated.
> >
> > ----------------------------------------------------------------------
> > 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
>
-- 

Rob Schramm

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