Page 1 of 1

Creation Time of a dataset on Mainframe

PostPosted: Sat Jan 15, 2011 12:24 am
by vegafacundodaniel
Hello everybody !

Could anyone tell me how can i get the creation time of a dataset on tso ? I don't need the creation date.

Re: Creation Time of a dataset on Mainframe

PostPosted: Sat Jan 15, 2011 12:30 am
by steve-myers
The only way to get the creation time of a data set is through analyzing SMF data for the date the data set was created, the creation time is not an attribute of the data set.

I'm not even certain you could get the time that way as no SMF data is written when the data set is created. The best you can do is the time the first I/O to the data set completes and a type 15 SMF record is written.

Re: Creation Time of a dataset on Mainframe

PostPosted: Mon Jan 17, 2011 6:05 pm
by stevexff
Yes, you'd have thought that something that fundamental would be in the VTOC or the catalog, but it's not. Maximum granularity is 1 day unless you use SMF (this is how some scheduling packages trigger jobs on dataset creation, by hooks into SMF).