> -----Ursprungligt meddelande-----
> Från: IBM Mainframe Discussion List [mailto:IBM-MAIN@bama.ua.edu] För R.S.
> Skickat: den 26 oktober 2011 12:29
> Till: IBM-MAIN@bama.ua.edu
> Ämne: Re: SV: GDG
> 
> W dniu 2011-10-26 12:09, Thomas Berg pisze:
> >> -----Ursprungligt meddelande-----
> >> Från: IBM Mainframe Discussion List [mailto:IBM-MAIN@bama.ua.edu] För
> >> Robert A. Rosenberg
> >> Skickat: den 26 oktober 2011 07:27
> >> Till: IBM-MAIN@bama.ua.edu
> >> Ämne: Re: GDG
> >>
> >> At 14:52 -0700 on 10/25/2011, Steve Thompson wrote about Re: GDG:
> >>
> >>> Do you actually mean version or generation? I ask this because now
> >>> and then someone actually means version (rarely). And what you asked
> >>> could be either.
> >>>
> >>> Version will be A.B.C.G0001V00  then A.B.C.G0001V01.
> >>>
> >>> Generation will be A.B.C.G0001V00 then A.B.C.G0002V00
> >>>
> >>> This makes a big difference in what you will have to do!!
> >>
> >> Note that when you create and catalog A.B.C.G0001V01 it will replace
> >> A.B.C.G0001V00 as A.B.C(n) - IOW: If after A.B.C.G0002V00 was created
> >> A.B.C.G0001V00 would be A.B.C(-1). Creating A.B.C.G0001V01 at this
> >> point would make IT A.B.C(-1) and A.B.C.G0001V00 would no longer be
> >> cataloged (it would be handled just like a generation that rolled off
> >> the GDG base.
> >>
> >> The purpose of creating a GxxxxVyy (where yy is NOT 00) is to replace
> >> the V00 (or current) version. This might occur if you want move the
> >> file from one media to another while leaving it in the GDG chain.
> >>
> >
> > By curiosity, how do You specify version in the JCL ?
> > I mean in the same way we specify latest generation by aaa(0)
> > and a new by aaa(+1) etc.
> 
> You specify DSN=HLQ.GDGBASE.G0008V01,DISP=(,CATLG)
> It will REPLACE HLQ.GDGBASE.G0008V00 - the older version will be deleted.
> Actually you can specify V07 jsut after V00, or even V03 after V07. In
> any case the newest version will be kpet, despite of the version number.
> 
> 
> BTW: IMHO moving from one media to another is bad example. It can be
> done by using DSS COPY with TGTGDS option.
> Versions are for unsuccesful job runs. You can rerun the job and create
> another version.
> 

Ok, so there are no symbolic syntax for it.  I'm not surprised as I have never 
seen such, but logically I would have expected something like aaa(0(+1)) etc. 


 
Regards, 
Thomas Berg 
_________________________________________ 
Thomas Berg   Specialist   A M   SWEDBANK 

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to