Page 1 of 1

Search in PDS

PostPosted: Tue Jul 02, 2013 7:40 pm
by senthil1983
HI,

Need REXX code for below requirement

IN PDS around 2000 JCL available,need to extract job which does not have dataclas in Delete statement

Example:

//Stepname exec pgm=iebfbr14
//DDname dd dsn=filename,
// dcb=(mode,delete,delete),
// dataclas=dc010 ----> for some job this statement is not there,need to extract JOb name for those.

Re: Search in PDS

PostPosted: Tue Jul 02, 2013 7:54 pm
by enrico-sorichetti
Need REXX code for below requirement


answering and posting snippets is based on past experience,
asking for AD HOC code snippets or full solutions
will mos likely result in Your request being ignored.

show what You have tried ( using ISPF srchfor utility - for example )
and somebody will be glad to help You in going forward

Re: Search in PDS

PostPosted: Tue Jul 02, 2013 10:42 pm
by Pedro
My suggestion
1. searchfor dataclas
2. get member names where dataclas is found.
3. remove those names from list of all members.