Hi,
"Version" and "generation" does have their meaning when talking about GDGs. However, when you code HLQ.FIRST.GDG(+1) -- next GENERATION gets created.
No version (V00 to V01 or whatever you can think of) increments/changes happen, whatsoever. Version is still "00". Said that, You can still create the next version BUT neither it's advised nor it will be 'attached' to the GDG-base.
If generation HLQ.FIRST.GDG.G0001V00 is cataloged and you now create and catalog HLQ.FIRST.GDG.G0001V01, this is just another DSN but as the "base" is same, the new entry is cataloged in the location previously occupied by HLQ.FIRST.GDG.G0001V00. The old entry is removed from the catalog, to make room for the newer version, and may or may not be scratched depending on what limit processing options are specified for the GDG base.
In simple words - "Version" and "generation" are two separate entities though they both, in the context of this topic, belong to GDG.
Generation and Version in GDG.
- Anuj Dhawan
- Founder
- Posts: 2806
- Joined: Sun Apr 21, 2013 7:40 pm
- Location: Mumbai, India
- Contact:
Generation and Version in GDG.
Thanks,
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
-
- Registered Member
- Posts: 52
- Joined: Sun Sep 29, 2013 1:46 am
- Location: India
Re: Generation and Version in GDG.
This is a nice information but does that mean version is never used?
Thanks,
Kapil
Kapil
- Robert Sample
- Global Moderator
- Posts: 1898
- Joined: Fri Jun 28, 2013 1:22 am
- Location: Dubuque Iowa
Re: Generation and Version in GDG.
Version is used, but rarely. If a generation is built and it is later determined that the data is wrong, a new version may replace that generation for various reasons. Since the new version must be fully specified (the relative generation approach cannot be used), the JCL has to be customized for that one data set.
-
- Former Team Member
- Posts: 62
- Joined: Wed Aug 07, 2013 6:43 pm
Re: Generation and Version in GDG.
FWIW -NONE of my clients permit the use of versions for business application datasets.
Hope this helps,
d
d
- Anuj Dhawan
- Founder
- Posts: 2806
- Joined: Sun Apr 21, 2013 7:40 pm
- Location: Mumbai, India
- Contact:
Re: Generation and Version in GDG.
I too agree with that idea - having version/s confuses you more than it helps - Dick.
Thanks,
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Create an account or sign in to join the discussion
You need to be a member in order to post a reply
Create an account
Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute