Generation and Version in GDG.

Post Reply
User avatar
Anuj Dhawan
Founder
Posts: 2799
Joined: Sun Apr 21, 2013 7:40 pm
Location: Mumbai, India
Contact:
India

Generation and Version in GDG.

Post by Anuj Dhawan »

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.

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.
Kapil Sharma
Registered Member
Posts: 52
Joined: Sun Sep 29, 2013 1:46 am
Location: India

Re: Generation and Version in GDG.

Post by Kapil Sharma »

This is a nice information but does that mean version is never used?
Thanks,
Kapil
User avatar
Robert Sample
Global Moderator
Global Moderator
Posts: 1885
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
United States of America

Re: Generation and Version in GDG.

Post by Robert Sample »

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.
dick scherrer
Former Team Member
Posts: 62
Joined: Wed Aug 07, 2013 6:43 pm

Re: Generation and Version in GDG.

Post by dick scherrer »

FWIW -NONE of my clients permit the use of versions for business application datasets.
Hope this helps,
d
User avatar
Anuj Dhawan
Founder
Posts: 2799
Joined: Sun Apr 21, 2013 7:40 pm
Location: Mumbai, India
Contact:
India

Re: Generation and Version in GDG.

Post by Anuj Dhawan »

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.
Post Reply

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

Register

Sign in

Return to “Terminology is Important.”