Doubt on GDG and versions.

JES2/3, JCL, utilities.
Post Reply
Sushant S
Registered Member
Posts: 20
Joined: Fri Aug 16, 2013 2:44 pm

Doubt on GDG and versions.

Post by Sushant S »

Hi,

The meaning of V in GDG, G00001V00, is version; I understand but I've not seen any use of it then why do they have it?

It might sound bizzare but it confuses a lot, at times.
zprogrammer
Global Moderator
Global Moderator
Posts: 588
Joined: Wed Nov 20, 2013 11:53 am
Location: Mars

Re: Doubt on GDG and versions.

Post by zprogrammer »

Vnn - is version number
Suppos i have a daily job runs and has created GDG like

PANDORA.TEST.G0023V00
PANDORA.TEST.G0024V00
PANDORA.TEST.G0025V00

Now suppose there is an incident occured and was found that some one manually override a data in parm/table and due to which a bad file was created as
PANDORA.TEST.G0024V00

So to fix it the parms are corrected and a new version of file is created as
PANDORA.TEST.G0024V01


Hope this answers your question
zprogrammer
dick scherrer
Former Team Member
Posts: 62
Joined: Wed Aug 07, 2013 6:43 pm

Re: Doubt on GDG and versions.

Post by dick scherrer »

As an application developer, you will probably Never use a Version in one of your datasets.

I would not let this cause confusion as it is not something you should be responsible for.
Hope this helps,
d
Sushant S
Registered Member
Posts: 20
Joined: Fri Aug 16, 2013 2:44 pm

Re: Doubt on GDG and versions.

Post by Sushant S »

Thanks Pandora and Dick.

Does someone have any historical data about it that what made the "version" to appear in GDG defintion? Just curious.
Sushant S
Registered Member
Posts: 20
Joined: Fri Aug 16, 2013 2:44 pm

Re: Doubt on GDG and versions.

Post by Sushant S »

Sushant S wrote:Does someone have any historical data about it that what made the "version" to appear in GDG defintion? Just curious.
enrico-sorichetti
Global Moderator
Global Moderator
Posts: 826
Joined: Wed Sep 11, 2013 3:57 pm

Re: Doubt on GDG and versions.

Post by enrico-sorichetti »

it will be hard to pinpoint the reason, unless You can find the design documents
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort 8-)
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 “JCL - Job Control Language.”