Graham, You might want to add SDUPM as parm option to search for duplicate members. SDUPM Searches all members found in concatenated PDS data sets, even if the members have the same name and are at a higher level. The Default is to ignore duplicate members
Kolusu IBM Mainframe Discussion List <[email protected]> wrote on 04/29/2013 03:59:43 PM: > From: Graham Hobbs <[email protected]> > To: [email protected], > Date: 04/29/2013 04:00 PM > Subject: Re: PDS searches > Sent by: IBM Mainframe Discussion List <[email protected]> > > Gentlemen, > Thanks again, after ten years away from mainframe had forgotten 'srchfor' so > finally came up with > //SEARCH JOB (CONRAD),'GH', > // CLASS=A,MSGCLASS=0,MSGLEVEL=(1,1) > // EXEC PGM=ISRSUPC, > // PARM=(SRCHCMP,ANYC,IDPFX,NOPRTCC) > //NEWDD DD DSN=CONRAD.CBL.PGMS,DISP=SHR > // DD DSN=CONRAD.CBL.CPYBKS,DISP=SHR > // DD DSN=CONRAD.SUPPORT.PDS,DISP=SHR > // DD DSN=VENDOR.SYSEXEC,DISP=SHR > //OUTDD DD SYSOUT=* > //SYSIN DD * > SRCHFOR 'TPUSER' > SRCHFOR 'TPINST' > // > .. works a treat! > cheers > Graham > > ----- Original Message ----- > From: "EXT-Schwarz, Barry" <[email protected]> > Newsgroups: bit.listserv.ibm-main > To: <[email protected]> > Sent: Monday, April 29, 2013 4:55 PM > Subject: Re: PDS searches > > > At least two options to do what you want: > > 3.15 brings up panel ISRSFPRI. If you blank out the DS Name and Member > List fields, it will bring up panel ISRSFCON which allows you to specify up > to four datasets to search. > > If you use 3.4 to bring up a dataset list containing the datasets of > interest and exclude any not of interest, you can use the SRCHFOR command to > find the text you want. > > > -----Original Message----- > > From: IBM Mainframe Discussion List [mailto:[email protected]] > > On Behalf Of Graham Hobbs > > Sent: Monday, April 29, 2013 1:40 PM > > To: [email protected] > > Subject: PDS searches > > > > Hello, > > Another question .. I have four PDS's of copybooks, pgms, sysexec, > > proclib. I'd like to search the four for something. Have looked at 3.14 > > and 3.15 but seems that I can only search one PDS at a time. Is this > > the case, have I missed something? > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
