W dniu 2011-10-26 12:09, Thomas Berg pisze:
-----Ursprungligt meddelande-----
Från: IBM Mainframe Discussion List [mailto:[email protected]] För
Robert A. Rosenberg
Skickat: den 26 oktober 2011 07:27
Till: [email protected]
Ä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.


--
Radoslaw Skorupka
Lodz, Poland


--
Tre tej wiadomoci moe zawiera informacje prawnie chronione Banku 
przeznaczone wycznie do uytku subowego adresata. Odbiorc moe by jedynie 
jej adresat z wyczeniem dostpu osób trzecich. Jeeli nie jeste adresatem 
niniejszej wiadomoci lub pracownikiem upowanionym do jej przekazania 
adresatowi, informujemy, e jej rozpowszechnianie, kopiowanie, rozprowadzanie 
lub inne dziaanie o podobnym charakterze jest prawnie zabronione i moe by 
karalne. Jeeli otrzymae t wiadomo omykowo, prosimy niezwocznie 
zawiadomi nadawc wysyajc odpowied oraz trwale usun t wiadomo 
wczajc w to wszelkie jej kopie wydrukowane lub zapisane na dysku.

This e-mail may contain legally privileged information of the Bank and is intended solely for business use of the addressee. This e-mail may only be received by the addressee and may not be disclosed to any third parties. If you are not the intended addressee of this e-mail or the employee authorised to forward it to the addressee, be advised that any dissemination, copying, distribution or any other similar activity is legally prohibited and may be punishable. If you received this e-mail by mistake please advise the sender immediately by using the reply facility in your e-mail software and delete permanently this e-mail including any copies of it either printed or saved to hard drive.
BRE Bank SA, 00-950 Warszawa, ul. Senatorska 18, tel. +48 (22) 829 00 00, fax 
+48 (22) 829 00 33, e-mail: [email protected]
Sd Rejonowy dla m. st. Warszawy XII Wydzia Gospodarczy Krajowego Rejestru Sdowego, nr rejestru przedsibiorców KRS 0000025237, NIP: 526-021-50-88. Wedug stanu na dzie 01.01.2011 r. kapita zakadowy BRE Banku SA (w caoci wpacony) wynosi 168.346.696 zotych.

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

Reply via email to