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 Compile Several JCL JOB Through one r... CLIST & REXX 4
No new posts Running REXX through JOB CLIST & REXX 13
No new posts Error to read log with rexx CLIST & REXX 11
No new posts isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
No new posts run rexx code with jcl CLIST & REXX 15
Search our Forums:

Back to Top