IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Help needed in automation work with REXX


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
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
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

Global Moderator


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

PostPosted: Thu Apr 20, 2006 5:09 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Run rexx with JCL Job CLIST & REXX 1
No new posts Run rexx in batch job CLIST & REXX 7
No new posts Does anyone know rexx for VSE CLIST & REXX 3
No new posts TSO ALLOC In REXX Needs Improvement JCL & VSAM 3
No new posts REXX/CMS How to place command console... CLIST & REXX 4
Search our Forums:

Back to Top