View previous topic :: View next topic |
Author |
Message |
tattva Beginner
Joined: 02 Feb 2005 Posts: 97 Topics: 36
|
Posted: Mon Dec 12, 2005 10:14 am Post subject: Datasets created |
|
|
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 |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
|
Posted: Mon Dec 12, 2005 11:03 am Post subject: |
|
|
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 |
|
|
tattva Beginner
Joined: 02 Feb 2005 Posts: 97 Topics: 36
|
Posted: Mon Dec 12, 2005 3:09 pm Post subject: |
|
|
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 |
|
|
Bill Dennis Advanced
Joined: 03 Dec 2002 Posts: 579 Topics: 1 Location: Iowa, USA
|
Posted: Mon Dec 12, 2005 5:29 pm Post subject: |
|
|
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 |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
|
Posted: Tue Dec 13, 2005 6:14 am Post subject: |
|
|
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 |
|
|
Bill Dennis Advanced
Joined: 03 Dec 2002 Posts: 579 Topics: 1 Location: Iowa, USA
|
Posted: Tue Dec 13, 2005 9:01 am Post subject: |
|
|
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 |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
|
Posted: Tue Dec 13, 2005 9:39 am Post subject: |
|
|
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 |
|
|
|
|