Page 1 of 1

Finding a member in dataset's specified by whildcards.

PostPosted: Tue Jun 05, 2012 7:09 pm
by Mehdi shri
Hi freind
I want a JCL utility or a marco to find a member in many PDS that is specified kile this:
PROJ*.TEST*.S*
My means that I looking for a member. It's may be in following PDS
PROJA.TEST1.SOURCE or
PROJB.TEST1.SOURCE or
PROJC.TEST2.SRCE or
PROJD.TEST2.SRCE or
PROJE.TEST4.SOURCE or
PROJF.TEST5.SRCE and
SO ON.
Because of there are many PDS, It is deficult for me to inspect these one by one. I need a job so I can do this fastly.
Best regards.

Re: Finding a member in dataset's specified by whildcards.

PostPosted: Tue Jun 05, 2012 7:21 pm
by prino
DSLIST 'PROJ*.TEST*.S*'

followed by
M whatever

Re: Finding a member in dataset's specified by whildcards.

PostPosted: Wed Jun 06, 2012 8:38 am
by Mehdi shri
Dear friend
How I must use this commands you tell me? In a JCL? In command line? Or other places?

Re: Finding a member in dataset's specified by whildcards.

PostPosted: Wed Jun 06, 2012 8:42 am
by Mehdi shri
Oh friend.
I find it. Your means I use this on command line. But I want use a batch program. Is there any utility for me?

Re: Finding a member in dataset's specified by whildcards.

PostPosted: Wed Jun 06, 2012 8:58 am
by dick scherrer
Hello,

You can run TSO in batch via jcl. . .

There are many examples in the forum. Use the forum search looking for IKJEFT01 as the search criteria. Look thru some of the returned hits and see if something will help you.