Creation Time of a dataset on Mainframe



TSO Programming, ISPF, SDF, SDSF and PDF, FTP, TCP/IP Concepts, SNA & SNA/IP etc...

Creation Time of a dataset on Mainframe

Postby vegafacundodaniel » Sat Jan 15, 2011 12:24 am

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.
vegafacundodaniel
 
Posts: 61
Joined: Tue Jul 20, 2010 4:27 pm
Has thanked: 1 time
Been thanked: 0 time

Re: Creation Time of a dataset on Mainframe

Postby steve-myers » Sat Jan 15, 2011 12:30 am

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.
steve-myers
Global moderator
 
Posts: 2105
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 243 times

Re: Creation Time of a dataset on Mainframe

Postby stevexff » Mon Jan 17, 2011 6:05 pm

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).
Steve
stevexff
 
Posts: 56
Joined: Wed Nov 10, 2010 7:48 pm
Has thanked: 0 time
Been thanked: 0 time


Return to TSO & ISPF

 


  • Related topics
    Replies
    Views
    Last post