Search in PDS



IBM's Command List programming language & Restructured Extended Executor

Search in PDS

Postby senthil1983 » Tue Jul 02, 2013 7:40 pm

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.
senthil1983
 
Posts: 3
Joined: Sun Mar 24, 2013 6:43 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Search in PDS

Postby enrico-sorichetti » Tue Jul 02, 2013 7:54 pm

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
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 3003
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 164 times

Re: Search in PDS

Postby Pedro » Tue Jul 02, 2013 10:42 pm

My suggestion
1. searchfor dataclas
2. get member names where dataclas is found.
3. remove those names from list of all members.
Pedro Vera
User avatar
Pedro
 
Posts: 686
Joined: Thu Jul 31, 2008 9:59 pm
Location: Silicon Valley
Has thanked: 0 time
Been thanked: 53 times


Return to CLIST & REXX

 


  • Related topics
    Replies
    Views
    Last post