View previous topic :: View next topic
|
Author |
Message |
srinivasa gunja
New User
Joined: 22 May 2009 Posts: 7 Location: bangalore
|
|
|
|
Hi,
What is the use of version in GDG's.
TNX, |
|
Back to top |
|
|
Binaya
New User
Joined: 03 Jul 2007 Posts: 77 Location: Hyderabad
|
|
|
|
Welcome to this forum srinivasa.
This is a basic question which you can get going through manuals or you can get browsing.
Prior asking something lets try out of our own. |
|
Back to top |
|
|
kumar40322
New User
Joined: 25 Apr 2009 Posts: 15 Location: Hyderabad
|
|
|
|
Srinivas,
if u r working on report generation programs and u need to keep all the data on daily basis, then u need GDG's. For more information u can refer JCL manuals. |
|
Back to top |
|
|
Aaru
Senior Member
Joined: 03 Jul 2007 Posts: 1287 Location: Chennai, India
|
|
|
|
Srinivasa,
Hi and welcome to the forums.
From the manuals
Quote: |
A generation data set is one of a collection of successive, historically related, cataloged data sets, known as a generation data group (GDG). The system keeps track of each data set in a generation data group as it is created, so that new data sets can be chronologically ordered and old ones easily retrieved. |
To access the manuals click on the "IBM Manuals" link and open the manuals for JCL.
Quote: |
What is the use of version in GDG's.
|
Version no's along with the generation no are used to differentiate the previous day's file from the current day's. This is just an example.
For example, If the Version no for current day's file is 01 then tomorrow's file will be 02. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
STOP
Due to the common misconception that generation and version are interchangeable terms for the same thing, Does the OP really mean generation or version.
Because don't forget you can have many generations but ONLY ONE version of a GDS. |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
Back to top |
|
|
srinivasa gunja
New User
Joined: 22 May 2009 Posts: 7 Location: bangalore
|
|
|
|
I am verifying the manuals also.
For Eg: GDG base like AS.BV.G001V00 and presently version no is 00 and i dint come across how the version will be incremented in JCL but generally generation will be incremented. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
srinivasa gunja wrote: |
I am verifying the manuals also.
For Eg: GDG base like AS.BV.G001V00 and presently version no is 00 and i dint come across how the version will be incremented in JCL but generally generation will be incremented. |
Please take the time to read the thread referred to in Kevins previous post |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
srinivasa gunja wrote: |
GDG base like AS.BV.G001V00 and presently version no is 00 and i dint come across how the version will be incremented in JCL but generally generation will be incremented. |
That's correct, with a little correction, in your base definition this "G001V00" should be "G0001V00".
If generation AS.BV.G0001V00 is cataloged and you now create and catalog AS.BV.G0001V01, this is just another DSN but as the "base" is same, the new entry is cataloged in the location previously occupied by AS.BV.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.
And yes, I echo Expat
Quote: |
Please take the time to read the thread referred to in Kevins previous post |
|
|
Back to top |
|
|
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 1702 Location: Australia
|
|
|
|
Hi Anuj,
shouldn't this
be
Gerry |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Yes that should be -- my mistake.
Corrected. |
|
Back to top |
|
|
|