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
 

 

Help needed in automation work with REXX

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

New User


Joined: 24 Jan 2006
Posts: 12

PostPosted: Thu Apr 20, 2006 9:58 am    Post subject: Help needed in automation work with REXX
Reply with quote

Hi ,

I am doing some automation work with REXX , my reuirement is to list all the datasets that are present with the HLQL with the date of creation and user who created that dataset.

Can any body tell me how to do that.

Thanks & Regards
Madhu.k
Back to top
View user's profile Send private message

superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Thu Apr 20, 2006 5:09 pm    Post subject: Re: Help needed in automation work with REXX
Reply with quote

REXX is not going to give you what you need.

You can, of course, get the list of datasets by their high-level qualifier by invoking the IDCAMS LISTCAT command, either as the TSO LISTCAT command or by executing IDCAMS. If you specify the command as

LISTCAT LVL(HLQL) ALL

you'll also get the creation date value for each dataset.

If you want to use ISPF Services, the LMDLIST function will give you the same results in a much neater and easier-to-use format.

The only way to determine which userid created a dataset is to query the SMF Type-6 records, if they have been activated for this purpose.
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 Fileaid 2 commands instream work. In ... descann Compuware & Other Tools 2 Tue May 16, 2017 3:31 pm
This topic is locked: you cannot edit posts or make replies. SORT trick needed bshkris SYNCSORT 6 Tue May 02, 2017 4:35 am
No new posts Running an REXX EXEC implicitly sho7hills CLIST & REXX 3 Thu Apr 20, 2017 8:14 am
No new posts Need help in REXX CALL program Raje1002 CLIST & REXX 5 Wed Apr 19, 2017 11:18 pm


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