MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Datasets created

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities
View previous topic :: View next topic  
Author Message
tattva
Beginner


Joined: 02 Feb 2005
Posts: 97
Topics: 36

PostPosted: Mon Dec 12, 2005 10:14 am    Post subject: Datasets created Reply with quote

Hi All,

I need the list of all Datasets( including GDGs) that i had created in the last 3 months. Is there a way of getting this data ?

Thanks,
Tattva
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12375
Topics: 75
Location: San Jose

PostPosted: Mon Dec 12, 2005 11:03 am    Post subject: Reply with quote

tattva,

Try this

Code:

//STEP0100 EXEC PGM=ADRDSSU,PARM='TYPRUN=NORUN'               
//SYSPRINT DD SYSOUT=*                                         
//PSEUDO   DD DUMMY                                           
//SYSIN    DD *                                               
  DUMP                       /* COMMAND DUMP             */ - 
   DS(INCL(tattva.**)        /* INCLUDE ALL DSN WITH HLQ */ - 
   BY((CREDT,GE,*,-90)))     /* PICK ONLY CREDT >= 90    */ - 
   OUTDD(PSEUDO)             /* OUT DD NAME              */   
/*                                                             


After completion of the job look at the sysprint for all the dataset list which are created current date- 90 days

Check this link for ADRDSSU documentation.

http://www.mvsforums.com/helpboards/viewtopic.php?t=2161&highlight=adrdssu

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
tattva
Beginner


Joined: 02 Feb 2005
Posts: 97
Topics: 36

PostPosted: Mon Dec 12, 2005 3:09 pm    Post subject: Reply with quote

Hi Kolusu,

Thanks for the solution. But it gives the datasets starting with HLQ as tattva. But i want the list of all the datasets without hlq as "tattva" which i created.

Help appreciated!!

Thanks,
Tattva
Back to top
View user's profile Send private message
Bill Dennis
Advanced


Joined: 03 Dec 2002
Posts: 579
Topics: 1
Location: Iowa, USA

PostPosted: Mon Dec 12, 2005 5:29 pm    Post subject: Reply with quote

You're looking for SMF records. Every dataset created should have an SMF record containing the job's OWNER id. Check your site's policy of how/where SMF records are archived.

If you've never worked with SMF records, search the forums for examples of working with them. The IBM manual on System Management Facility (SMF) lists the formats.
_________________
Regards,
Bill Dennis

Disclaimer: My comments on this foorum are my own and do not represent the opinions or suggestions of any other person or business entity.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12375
Topics: 75
Location: San Jose

PostPosted: Tue Dec 13, 2005 6:14 am    Post subject: Reply with quote

Quote:

Thanks for the solution. But it gives the datasets starting with HLQ as tattva. But i want the list of all the datasets without hlq as "tattva" which i created.


Simply change the INCL condition to the the following
Code:

DS(INCL(**)        /* INCLUDE ALL DSN  */ - 


Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Bill Dennis
Advanced


Joined: 03 Dec 2002
Posts: 579
Topics: 1
Location: Iowa, USA

PostPosted: Tue Dec 13, 2005 9:01 am    Post subject: Reply with quote

Question kolusu,
How does your solution show only datasets created by tattva? I think SMF records are required to see the "creator".
_________________
Regards,
Bill Dennis

Disclaimer: My comments on this foorum are my own and do not represent the opinions or suggestions of any other person or business entity.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12375
Topics: 75
Location: San Jose

PostPosted: Tue Dec 13, 2005 9:39 am    Post subject: Reply with quote

Bill Dennis,

I missed the part

Quote:
But i want the list of all the datasets without hlq as "tattva" which i created.


I thought OP wanted all the datasets which are created 3 months ago. Sorry

Tattva as bill suggested you need to scan the SMF records

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group