Page 1 of 1

creating new version of GDG

PostPosted: Sun Jan 10, 2010 10:27 pm
by samdip.m
Hi,

How do we create new VERSION of same Generation of one GDG. Please be clear that i wnna new version not generation...i.e
suppose i have "samdip.test,gdg.g0001v00" gdg and i want "samdip.test,gdg.g0001v01"

Please gimme some solution...

Re: creating new version of GDG

PostPosted: Sun Jan 10, 2010 10:45 pm
by Robert Sample
If you read the JCL Reference manual, you will find that you must catalog the new version using the fully qualified name SAMDIP.TEST.GDG.G0001V01 -- the old version will be uncatalogued automatically.

Re: creating new version of GDG

PostPosted: Mon Jan 11, 2010 4:57 am
by dick scherrer
Hello,

Why do you believe you want/need to use "version"?

What kind of business requirement makes this necessary. Or - Is this just another solution looking for a requirement?

I only ask because i have see 10's or 100's of thousands of gdg datasets across several thousand applicaton environments and have not yet seen a need to use a version for one of these datasets. . .

Re: creating new version of GDG

PostPosted: Mon Jan 11, 2010 9:21 pm
by samdip.m
Actually as we are changing existing code so my seniors asked me to put code like this so i was looking for solution. Thanks for helpfull information. I don know much about his pgm but as a beginner i will look forward to acquire knoweledge of such things as well

Re: creating new version of GDG

PostPosted: Tue Jan 12, 2010 12:19 am
by dick scherrer
Hello,

Actually as we are changing existing code so my seniors asked me to put code like this so i was looking for solution.
I expect that your "senior" has been misunderstood or does not themself understand what is needed. . .

I don know much about his pgm but as a beginner i will look forward to acquire knoweledge of such things as well
Why does knowledge of the program have anything to do with "generation" or "version"? What is to happen when the "next" file is created?

There needs to be a much better understanding of what is happening before something is just thrown in because of needint do to something".