IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

List all ps,pds & gdg's from the given qualifier using R


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Felix MA

New User


Joined: 30 Aug 2010
Posts: 2
Location: Chennai

PostPosted: Mon Aug 30, 2010 7:02 pm
Reply with quote

Hi,

I have to list all the PS, PDS & GDG's from the given qualifier using REXX.
Please help me with a REXX code.

For Example:
Sample Input :
ABCD.AAA

Expected Output : All the PS, PDS & GDG's having the qualifiers as ABCD.AAA*.* has to be listed down.

Sample Output :
ABCD.AAA.HELLO1
ABCD.AAAABB1.PDS1
ABCD.AAA.BBB.PS1
ABCD.AAA.BBB.CCC.GDG1
ABCD.AAA.BBB.CCC.GDG2.T
ABCD.AAA.ABCDE.HHH1.GDG1.T
ABCD.AAA.ABCDEF.SAMPLE.SAMPDS

Thanks,
Felix.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Mon Aug 30, 2010 7:04 pm
Reply with quote

did You care to search the forums ...
there are many, too may samples on how to do it!
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Mon Aug 30, 2010 7:10 pm
Reply with quote

Look for the keyword CSIUTIL
Back to top
View user's profile Send private message
Felix MA

New User


Joined: 30 Aug 2010
Posts: 2
Location: Chennai

PostPosted: Mon Aug 30, 2010 7:29 pm
Reply with quote

Thanks Expat... But, I couldn't locate the right link...

I have seen few which can list all datasets when it is given the full qualifier.
But if I give a qualifier like "ABCD.AAA" as my input, it has to search through the dataset and has to output like "ABCD.AAAAAA1.BBB.PS1" and other ps, pds & gdg's as well....

Please help me...
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Mon Aug 30, 2010 10:45 pm
Reply with quote

Look for the LMDLIST service examples.

O.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts How to create a list of SAR jobs with... CA Products 3
No new posts Using the Jobname parameter in a Qual... ABENDS & Debugging 1
No new posts Build dataset list with properties us... PL/I & Assembler 4
No new posts ISRSUPC search utility - using high l... TSO/ISPF 2
No new posts list pds members name starting with xyz CLIST & REXX 11
Search our Forums:

Back to Top