madhugoodboy
New User
Joined: 24 Jan 2006 Posts: 11
|
|
|
|
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 |
|
superk
Moderator Team Head
Joined: 26 Apr 2004 Posts: 3314 Location: Charlotte,NC USA
|
|
|
|
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. |
|