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: 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 How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 5 Wed Oct 04, 2017 6:54 am
No new posts Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 47 Fri Sep 29, 2017 1:08 pm

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