MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

get the file creation time

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF
View previous topic :: View next topic  
Author Message
nbdtrjk1
Beginner


Joined: 12 Apr 2007
Posts: 76
Topics: 41

PostPosted: Sat Oct 24, 2009 7:46 am    Post subject: get the file creation time Reply with quote

All,

We have a requirement, where we need to know the time when the file got created (PS/GDG new generation file creation time).

Could you please help me on this
Back to top
View user's profile Send private message
dbzTHEdinosauer
Supermod


Joined: 20 Oct 2006
Posts: 1411
Topics: 26
Location: germany

PostPosted: Sat Oct 24, 2009 7:53 am    Post subject: Reply with quote

Robert Sample wrote:
The only reliable way is to access the SMF data, which for an old file may not be around any more, and requires extensive processing to get the desired data

_________________
Dick Brenholtz
American living in Varel, Germany
Back to top
View user's profile Send private message
Terry_Heinze
Supermod


Joined: 31 May 2004
Posts: 391
Topics: 4
Location: Richfield, MN, USA

PostPosted: Sun Oct 25, 2009 10:33 pm    Post subject: Reply with quote

Too lazy to write your own replies these days, Dick? Laughing
_________________
....Terry
Back to top
View user's profile Send private message Send e-mail
Anuj Dhawan
Intermediate


Joined: 19 Jul 2007
Posts: 298
Topics: 7
Location: Mumbai,India

PostPosted: Mon Oct 26, 2009 3:17 am    Post subject: Reply with quote

He, usually, does not want to re-invent the wheel... Very Happy
_________________
Regards,
Anuj
Back to top
View user's profile Send private message
dbzTHEdinosauer
Supermod


Joined: 20 Oct 2006
Posts: 1411
Topics: 26
Location: germany

PostPosted: Mon Oct 26, 2009 5:17 am    Post subject: Reply with quote

just wanted to give credit due. or he's the one that said it
_________________
Dick Brenholtz
American living in Varel, Germany
Back to top
View user's profile Send private message
expat
Intermediate


Joined: 01 Mar 2007
Posts: 475
Topics: 9
Location: Welsh Wales

PostPosted: Mon Oct 26, 2009 8:01 am    Post subject: Re: get the file creation time Reply with quote

nbdtrjk1 wrote:

We have a requirement, where we need to know the time when the file got created (PS/GDG new generation file creation time).

OK, I have geard a few strange requirements in the past, but could you possibly explain to me the need for this.
_________________
If it's true that we are here to help others,
then what exactly are the others here for ?
Back to top
View user's profile Send private message
tcurrier
Intermediate


Joined: 10 Feb 2006
Posts: 188
Topics: 68

PostPosted: Tue Dec 08, 2009 6:07 pm    Post subject: Reply with quote

If you're willing to read the file to determine the creation time, and you are the one creating the file, you could create something like a CONTROL DATE record...

In our systems, we have a CONTROL DATE (CD) record on a lot of our input files. This is to ensure that we're not pulling incorrect files into our production jobs. You could add the system time to the 'CD' record....

Example: CD 120809 06:07PM

Not sure if this is what you really wanted, but just a thought ....
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group