View previous topic :: View next topic
|
Author |
Message |
deepak.vl
New User
Joined: 17 Feb 2007 Posts: 38 Location: Hyderabad
|
|
|
|
Hi All,
Can anybody explain the difference between a version and generation in a GDG.
Thanks,
Deepak |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
Back to top |
|
|
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
Hi Deepak,
AGeneration is used to reference one dataset of a Generation Data Group (GDG).
A Version is what most people with GDG questions posting here use to reference a Generation.
It's an inside joke. Actually, a Version references a different instance of the SAME Generation. For example, if you created a Generation - prod.myds.g0003V00 and found the data was in error, you could recreate the Generation with a new version number (G0003V01) and it would replace the Generation (G0003V00) with the erroneous data and keep the same place in the GDG as the original (V00). The system automatically deletes the old Version.
BTW, this is rarely used in practice, so check with your supervisor before attemping this. |
|
Back to top |
|
|
deepak.vl
New User
Joined: 17 Feb 2007 Posts: 38 Location: Hyderabad
|
|
|
|
Thanks mmwife.
But to create a version of a generation, how do we write a JCL? In other way, how do we create a different version of a generation, either manually or from JCL. |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
deepak.vl wrote: |
But to create a version of a generation, how do we write a JCL? In other way, how do we create a different version of a generation, either manually or from JCL. |
Define it using the GnnnVnn instead of the (+n). |
|
Back to top |
|
|
deepak.vl
New User
Joined: 17 Feb 2007 Posts: 38 Location: Hyderabad
|
|
|
|
William Thompson wrote: |
deepak.vl wrote: |
But to create a version of a generation, how do we write a JCL? In other way, how do we create a different version of a generation, either manually or from JCL. |
Define it using the GnnnVnn instead of the (+n). |
Thanks William. I have one more question.
But will this automatically uncatalog the older version? |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
deepak.vl wrote: |
I have one more question.
But will this automatically uncatalog the older version? |
I know that has been answered, a search would help you, but I think it doesn't uncatalog the V00, but I think that when refering to the Gnnn with (-n), it ignores the V00 and takes the latest Vnn (I think). |
|
Back to top |
|
|
|