This is what I use.

//SEARCH4  PROC LIB=
//SEARCH   EXEC PGM=ISRSUPC,PARM=(SRCHCMP,'ANYC')
//NEWDD    DD   DISP=SHR,DSN=&LIB
//OUTDD    DD   SYSOUT=*
//SYSIN    DD   DISP=(OLD,PASS),DSN=&&CNTL
//         PEND
//*
//CNTLCARD EXEC PGM=IEBGENER
//SYSUT2   DD   UNIT=SYSDA,SPACE=(TRK,1),DISP=(,PASS),LRECL=80,
//         RECFM=FB,BLKSIZE=0,DSORG=PS,DSN=&&CNTL
//SYSPRINT DD   DUMMY
//SYSIN    DD   DUMMY
//SYSUT1   DD   *
SRCHFOR         'SEARCH_STRING'
//         EXEC SEARCH4,LIB=pds/pdse to search. 
//

Mike

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Ron Thomas
Sent: Tuesday, November 01, 2016 3:16 PM
To: [email protected]
Subject: Member search in multiple PDS

Hello. There are some around 45 PDS we have and i need to run in batch to to 
find where all a member exists . Could some one let me know how this can be 
done in a job ? Thanks!

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