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
This topic is locked: you cannot edit posts or make replies. Need help on If condition continuatio... ashok_uddaraju CLIST & REXX 4 Fri May 19, 2017 8:55 am
No new posts Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 10 Tue May 16, 2017 2:20 pm
No new posts member list compare jzhardy TSO/ISPF 6 Fri May 12, 2017 3:18 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts Issue with NDM process to transmit ES... chetanambi All Other Mainframe Topics 6 Wed May 03, 2017 10:52 am


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