Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
List all ps,pds & gdg's from the given qualifier using R

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
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    Post subject: List all ps,pds & gdg's from the given qualifier using R
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10457
Location: italy

PostPosted: Mon Aug 30, 2010 7:04 pm    Post subject: Reply to: List all ps,pds & gdg's from the given qualifi
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: 8657
Location: Back in jolly old England

PostPosted: Mon Aug 30, 2010 7:10 pm    Post subject:
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    Post subject: Reply to: List all ps,pds & gdg's from the given qualifi
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: 2360
Location: Israel

PostPosted: Mon Aug 30, 2010 10:45 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to list data set names with diffe... murali.andaluri CLIST & REXX 8 Thu Apr 12, 2018 11:33 pm
No new posts List of jobs ran thru scheduler ddhar All Other Mainframe Topics 1 Tue Mar 27, 2018 4:32 am
No new posts How could i share my personal dataset... James Halley TSO/ISPF 1 Fri Mar 23, 2018 9:41 pm
This topic is locked: you cannot edit posts or make replies. How could i share my personal dataset... samenxia163 TSO/ISPF 1 Fri Mar 09, 2018 12:18 pm
No new posts Get the list of data sets on DASD and... rakaitn JCL & VSAM 3 Thu Mar 08, 2018 12:38 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us