Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
GDG cgeneration creation date&time

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
hiravibk
Warnings : 1

Active User


Joined: 14 Dec 2008
Posts: 103
Location: India

PostPosted: Mon Aug 31, 2009 6:12 pm    Post subject: GDG cgeneration creation date&time
Reply with quote

Hi All,

Is there any way to find out the creation date& time of a GDG generation?
I know that LISTCAT gives the creation history of a file, but i can see only the creation date in teh listcat output. I want the creation time also.

Thanks in advance
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8200
Location: East Dubuque, Illinois, USA

PostPosted: Mon Aug 31, 2009 6:19 pm    Post subject:
Reply with quote

Quote:
I want the creation time also
And why do you want useless information?

And what are you calling "creation time"? A job opens a new output file at 8:00 AM exactly; the job then runs for 7 hours ending at 3:00 PM. The last record was written to the file at 10:17 AM but since the file was still open, the file is not considered created until 3 PM -- even though 8 AM and 10:17 could both be considered as creation times. This is why I said you're wanting useless information.

AFAIK, the only way to get this (whichever you want to use) is from the SMF data.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8619
Location: Back in jolly old England

PostPosted: Mon Aug 31, 2009 6:21 pm    Post subject:
Reply with quote

SMF record type 61 will tell you when the catalog entry was created.
This is NOT a guarantee of when the file was created, but I would guess at it being 99.9% accurate.
Type 61 is not too difficult to decipher

To read about SMF records click HERE
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Fetching data from JHS as per the cur... arunsoods All Other Mainframe Topics 4 Wed Nov 22, 2017 1:54 pm
No new posts Date in where clause - Windows Karthikeyan Subbarayan DB2 9 Wed Nov 15, 2017 9:07 pm
No new posts Comparision with current time arunsoods DFSORT/ICETOOL 5 Thu Nov 09, 2017 10:37 am
This topic is locked: you cannot edit posts or make replies. Comparing current time with the time ... arunsoods SYNCSORT 1 Mon Oct 30, 2017 4:07 pm
This topic is locked: you cannot edit posts or make replies. Incrementing current time field by 30... arunsoods DFSORT/ICETOOL 11 Thu Oct 26, 2017 3:22 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us