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
 

 

Save list of datasets in a file through REXX

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
View previous topic :: :: View next topic  
Author Message
rohitsir

New User


Joined: 21 Aug 2007
Posts: 32
Location: USA

PostPosted: Wed Aug 22, 2007 6:20 pm    Post subject: Save list of datasets in a file through REXX
Reply with quote

Hi,

Here is my requirement. I want to save all the datasets starting with a particular string, say 'DDX.CN.IA1.*' in a file and i want to do it through REXX.

Like we do 3.4 and then type 'DDX.CN.IA1.*' and press enter, it will give us the list of all the respective datasets. We can do 'SAVE LIST' and save all these dataset names in a sequential file. I want to do this whole thing through REXX.
Back to top
View user's profile Send private message

kamran

New User


Joined: 01 May 2005
Posts: 55

PostPosted: Wed Aug 22, 2007 6:35 pm    Post subject:
Reply with quote

Hi
The easiest way is to use "LMDLIST" which is described in the ISPF Services book.
You can call ispf sevices through rexx by using:
Address ISPEXEC ....
Check the manuals for details.
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: Wed Aug 22, 2007 7:22 pm    Post subject:
Reply with quote

Or IDCAMS LISTCAT LEVEL
Back to top
View user's profile Send private message
rohitsir

New User


Joined: 21 Aug 2007
Posts: 32
Location: USA

PostPosted: Wed Aug 22, 2007 7:33 pm    Post subject: Reply to: Save list of datasets in a file through REXX
Reply with quote

Thanks Kamran,

LMDLIST works perfectly for my requirement. Thanks a ton.!!!
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 SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
This topic is locked: you cannot edit posts or make replies. Calling REXX code from ISPF panel sanchita dey TSO/ISPF 4 Mon Jan 02, 2017 5:13 pm
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm
No new posts REXX DB2: Dynamic allocation of DB2.D... BHAS CLIST & REXX 3 Mon Dec 19, 2016 8:26 pm
No new posts find particular member name in PDS us... ravi243 CLIST & REXX 10 Mon Dec 19, 2016 6:44 pm


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