Find the creation time of the GDG?

JES2/3, JCL, utilities.
Post Reply
RyanFox
Registered Member
Posts: 52
Joined: Sat Jun 15, 2013 12:54 pm

Find the creation time of the GDG?

Post by RyanFox »

Hi,

Can anyone please tell me how to find the creation time of a GDG Generation. I could only identify creation date...
nicc
Global Moderator
Global Moderator
Posts: 691
Joined: Wed Apr 23, 2014 8:45 pm

Re: Find the creation time of the GDG?

Post by nicc »

I suspect it is in an SMF record. Otherwise I think the information is only in the spool output of the job that created it.
Regards
Nic
enrico-sorichetti
Global Moderator
Global Moderator
Posts: 826
Joined: Wed Sep 11, 2013 3:57 pm

Re: Find the creation time of the GDG?

Post by enrico-sorichetti »

for a dasd dataset the vtoc will tell
for a tape dataset the TMS will tell
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort 8-)
User avatar
Robert Sample
Global Moderator
Global Moderator
Posts: 1891
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
United States of America

Re: Find the creation time of the GDG?

Post by Robert Sample »

The system doesn't keep creation time for data sets. The SMF type 15 record has the open time for the data set (SMF15OPE) but that's about it.
RyanFox
Registered Member
Posts: 52
Joined: Sat Jun 15, 2013 12:54 pm

Re: Find the creation time of the GDG?

Post by RyanFox »

Thanks all.

So it is never meant to keep the time in the system? Is it not a basic thing to have? Just asking.
User avatar
Robert Sample
Global Moderator
Global Moderator
Posts: 1891
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
United States of America

Re: Find the creation time of the GDG?

Post by Robert Sample »

So it is never meant to keep the time in the system? Is it not a basic thing to have? Just asking.
The system (that is, the CPU) tracks the time down to the microsecond. HOWEVER, the system does not track creation time for data sets and has no reason to -- there may well be thousands of data sets being created every day and tracking creation time adds a lot of overhead.
RyanFox
Registered Member
Posts: 52
Joined: Sat Jun 15, 2013 12:54 pm

Re: Find the creation time of the GDG?

Post by RyanFox »

hmmm ok. Thanks Robert.
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “JCL - Job Control Language.”