Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search 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
Author Message
madhugoodboy

New User


Joined: 24 Jan 2006
Posts: 11

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
References
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 3314
Location: Charlotte,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
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1