|
|
| Author |
Message |
Anand_Kannan
New User
Joined: 09 Jun 2005 Posts: 3
|
|
|
|
Hi all,
I need to store a File in MVS with file name having latest Date/Time when the program was executed, so that we could re-use the same file again in future by passing the Date/Time through JCL. I.e we want to store the files with date and time. Could Date/Time be stored in GDG and if so how? If not what else are the options?
Kindly let me know how to solve this.
Regards,
Anand |
|
| Back to top |
|
 |
References
|
Posted: Thu Jun 09, 2005 5:10 pm Post subject: Re: How to store files in MVS with date and time ?? |
 |
|
|
 |
MGIndaco
Moderator
Joined: 10 Mar 2005 Posts: 479 Location: Milan, Italy
|
|
| Back to top |
|
 |
superk
Moderator Team Head
Joined: 26 Apr 2004 Posts: 3101 Location: Charlotte,NC USA
|
|
|
|
| How granular do your date and time values need to be? I could see using GDG's if you expected multiple occurences of files with the exact same date and time values. Otherwise, it seems to me that using GDG's would be a wasted effort. Don't forget that you need a GDG base defined BEFORE you can create a new generation, so you'd have to take that fact into account. Would you be pre-defining all of the possible bases, or would your job logic need to be able to define the bases "on the fly"? |
|
| Back to top |
|
 |
|
|