Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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: 10231
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: 8593
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 SQL query to run through list of valu... Ni3-db2 DB2 14 Wed Dec 14, 2016 9:52 am
No new posts Cobol list of programs being called biswajit.dattagupta COBOL Programming 5 Tue Nov 01, 2016 2:10 am
No new posts reorder screeNS using SWAP LIST? mrsidhu12 TSO/ISPF 5 Thu Sep 01, 2016 2:19 pm
No new posts Getting list of tables defined under ... kishpra DB2 2 Wed Aug 24, 2016 10:36 am
No new posts Unstring list of values into an array. Roshnii COBOL Programming 8 Mon Jun 27, 2016 6:25 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us