Hi,

For a GDG dataset names to have time stamp information in the name is currently 
not possible.  What I have done to place the creation date and time into the 
dataset name is to use system symbols.
There are dynamic system symbols in z/OS now and you can use them in JCL for 
name datasets.  Of course the dataset is then not a GDG and you will have to 
create something to delete older datasets as needed.
I did so using REXX with ISPF services LMDLIST etc., to create IDCAMS delete 
statement's for the datasets that are no longer needed to be removed.
A tape management system can also give you the creation dates, if it is a tape 
dataset.
ISPF services can be used in REXX and in other higher level programming 
languages.  It takes some getting used to and any program using them must run 
in an ISPF environment.

Roger W. Suhr
suhr...@gmail.com


-----Original Message-----
From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of 
Peter
Sent: Monday, March 12, 2018 12:15
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: GDG with timestamp

Hi

Sorry I meant putting the dates

On 12-Mar-2018 9:27 PM, "John McKown" <john.archie.mck...@gmail.com> wrote:

> On Mon, Mar 12, 2018 at 10:50 AM, Peter <dbajava...@gmail.com> wrote:
>
> > Hi
> >
> > Apology for the dummy question
> >
> > For the GDG to have timestamp on its every generation, how do I 
> > ensure
> that
> > timestamp gets appended with all that generation created ?
> >
> > Could someone please point me as I am little confused here.
> >
>
> I'm confused too. A GDG data name is of the form <base_dsn>.GnnnnVmm, 
> where nnnn is the absolute generation number and "mm" is a version and 
> 99.999999% of the time ​is "00". The only timestamp that I know of the 
> the one in the catalog, which is the date & time the catalog entry was 
> put into the catalog. Normally, this is the same as the creation date 
> & time, but can be different if "something happens" and the GDG entry is 
> recatalogued.
>
> ​What are you hoping for? If you want the timestamp in the DSN, I 
> think you are outta luck.​
>
>
>
> >
> >
> > Peter
> >
> > --------------------------------------------------------------------
> > -- For IBM-MAIN subscribe / signoff / archive access instructions, 
> > send email to lists...@listserv.ua.edu with the message: INFO 
> > IBM-MAIN
> >
>
>
>
> --
> I have a theory that it's impossible to prove anything, but I can't 
> prove it.
>
> Maranatha! <><
> John McKown
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions, send 
> email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@listserv.ua.edu with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to