On Tue, Nov 1, 2016 at 2:16 PM, Ron Thomas <[email protected]> wrote:

> 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!
>
>
​Well, historically, assuming that I didn't have some product to do it for
me, I would use  TSO​

​in batch to do a LISTDS 'dsn' MEMBERS to get a member list, then just use
SDSF to look at the output. Most likely, I'd use the SE command to get the
sysout into ISPF edit and do excludes and finds.

//LISTMEM EXEC PGM=IKJEFT01,REGION=0M
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD *
 LISTDS 'DSN1' MEMBERS
 LISTDS 'DSN2' MEMBERS
 LISTDS 'DSN3' MEMBERS
...
/*

-- 
Heisenberg may have been here.

Unicode: http://xkcd.com/1726/

Maranatha! <><
John McKown

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to