This works for me

//XTBSRCHM JOB 0,CLASS=A,PRTY=6,MSGCLASS=X,MSGLEVEL=(1,1)
//GENER   EXEC PGM=ICEGENER
//SYSPRINT DD SYSOUT=*
//SYSIN    DD DUMMY
//SYSUT1   DD *
  SRCHFOR 'ABC.'
//SYSUT2   DD DSN=&&SRCH,DISP=(NEW,PASS),
//            DCB=(DSORG=PS,RECFM=FB,LRECL=80),
//            UNIT=SYSDA,SPACE=(TRK,1)
//SRCHFOR  PROC
//STEP01  EXEC PGM=ISRSUPC,PARM=('L SRCHCMP ANYC')
//SYSPRINT DD SYSOUT=*
//NEWDD    DD DISP=SHR,DSN=&DSN1
//OUTDD    DD SYSOUT=*
//SYSIN    DD DSN=&&SRCH,DISP=(OLD,KEEP)
// PEND
//SYS21   EXEC SRCHFOR,DSN1=SYS1.PROCLIB
//SYS22   EXEC SRCHFOR,DSN1=SYS2.PROCLIB
//SYS23   EXEC SRCHFOR,DSN1=SYS3.PROCLIB

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of R.S.
Sent: Wednesday, 02 November, 2016 4:52 PM
To: [email protected]
Subject: Re: Subject: Member search in multiple PDS


** THIS IS AN EXTERNAL EMAIL ** Use caution before opening links / attachments. 
Never supply UserID/PASSWORD information.


W dniu 2016-11-02 o 21:34, Kenneth J. Kripke pisze:
> If you have Innovation Data Processing's products installed, 
> specifically, FDREPORT,
>
> A report can be generated based on a XDSN= dsn mask, and, then in the 
> REPORT section, you can specify DIRISPF to list the members, who updated 
> last, etc.
>
>
> The data can be sorted as well within the program.


Are we talking about searching for a string?
Recipe:
p.3.4 - DSLIST with all PDS(E)'ses needed. (***) Primary command SRCHFOR string 
END.

*** the list may contain other datasets, non-PO are welcome. Not needed 
datasets can be excluded before search.
When using REFLIST, the list can consist of totally unrelated dataset names 
like SYS1.XYZ, ABC.EDG, KHJ.BEW, etc.

--
Radoslaw Skorupka
Lodz, Poland






---
Tre tej wiadomoci moe zawiera informacje prawnie chronione Banku 
przeznaczone wycznie do uytku subowego adresata. Odbiorc moe by jedynie 
jej adresat z wyczeniem dostpu osób trzecich. Jeeli nie jeste adresatem 
niniejszej wiadomoci lub pracownikiem upowanionym do jej przekazania 
adresatowi, informujemy, e jej rozpowszechnianie, kopiowanie, rozprowadzanie 
lub inne dziaanie o podobnym charakterze jest prawnie zabronione i moe by 
karalne. Jeeli otrzymae t wiadomo omykowo, prosimy niezwocznie 
zawiadomi nadawc wysyajc odpowied oraz trwale usun t wiadomo 
wczajc w to wszelkie jej kopie wydrukowane lub zapisane na dysku.

This e-mail may contain legally privileged information of the Bank and is 
intended solely for business use of the addressee. This e-mail may only be 
received by the addressee and may not be disclosed to any third parties. If you 
are not the intended addressee of this e-mail or the employee authorized to 
forward it to the addressee, be advised that any dissemination, copying, 
distribution or any other similar activity is legally prohibited and may be 
punishable. If you received this e-mail by mistake please advise the sender 
immediately by using the reply facility in your e-mail software and delete 
permanently this e-mail including any copies of it either printed or saved to 
hard drive.

mBank S.A. z siedzib w Warszawie, ul. Senatorska 18, 00-950 Warszawa, 
www.mBank.pl, e-mail: [email protected]
Sd Rejonowy dla m. st. Warszawy XII Wydzia Gospodarczy Krajowego Rejestru 
Sdowego, nr rejestru przedsibiorców KRS 0000025237, NIP: 526-021-50-88. 
Wedug stanu na dzie 01.01.2016 r. kapita zakadowy mBanku S.A. (w caoci 
wpacony) wynosi 168.955.696 zotych.


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

Reply via email to