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
 
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: 8631
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 attchmvs from rexx subroutine that re... harisukumaran CLIST & REXX 1 Fri Jan 19, 2018 5:29 am
No new posts Can we create REXX ouput in an Excel ... upendrasri CLIST & REXX 3 Wed Jan 17, 2018 8:19 pm
No new posts Need to obtain VTOC information via R... djeffbland CLIST & REXX 10 Thu Jan 11, 2018 4:13 am
No new posts REXX contest sergeyken CLIST & REXX 2 Tue Jan 09, 2018 1:55 am
No new posts COB2 file processing rizwanaccy COBOL Programming 8 Tue Jan 02, 2018 1:00 pm

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