Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

What is the use of version in GDG's.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
srinivasa gunja

New User


Joined: 22 May 2009
Posts: 7
Location: bangalore

PostPosted: Tue Jun 23, 2009 2:10 pm    Post subject: What is the use of version in GDG's.
Reply with quote

Hi,

What is the use of version in GDG's.

TNX,
Back to top
View user's profile Send private message

Binaya

New User


Joined: 03 Jul 2007
Posts: 77
Location: Hyderabad

PostPosted: Tue Jun 23, 2009 2:34 pm    Post subject: Reply to: What is the use of version in GDG's.
Reply with quote

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
View user's profile Send private message
kumar40322

New User


Joined: 25 Apr 2009
Posts: 15
Location: Hyderabad

PostPosted: Tue Jun 23, 2009 2:44 pm    Post subject: Reply to: What is the use of version in GDG's.
Reply with quote

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
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1288
Location: Chennai, India

PostPosted: Tue Jun 23, 2009 2:55 pm    Post subject: Reply to: What is the use of version in GDG's.
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Tue Jun 23, 2009 3:00 pm    Post subject:
Reply with quote

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
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Tue Jun 23, 2009 3:08 pm    Post subject: Reply to: What is the use of version in GDG's.
Reply with quote

See this previous topic.
Back to top
View user's profile Send private message
srinivasa gunja

New User


Joined: 22 May 2009
Posts: 7
Location: bangalore

PostPosted: Tue Jun 23, 2009 3:20 pm    Post subject: Reply to: What is the use of version in GDG's.
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Tue Jun 23, 2009 3:26 pm    Post subject: Re: Reply to: What is the use of version in GDG's.
Reply with quote

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
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Tue Jun 23, 2009 3:44 pm    Post subject: Re: Reply to: What is the use of version in GDG's.
Reply with quote

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
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1703
Location: Australia

PostPosted: Tue Jun 23, 2009 4:00 pm    Post subject:
Reply with quote

Hi Anuj,

shouldn't this
Quote:
A.B.C.G0005V01
be
Quote:
AS.BV.G0001V01



Gerry
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Tue Jun 23, 2009 4:04 pm    Post subject: Reply to: What is the use of version in GDG's.
Reply with quote

Yes that should be -- my mistake. icon_redface.gif

Corrected.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts GDG version number PANDU1 JCL & VSAM 4 Sat Mar 04, 2017 8:28 pm
No new posts COBOL Version 6.1 Virendra Shambharkar COBOL Programming 15 Tue Nov 01, 2016 11:24 am
No new posts Is there a time Version of DATEDIFF ? Bill Woodger DFSORT/ICETOOL 1 Wed Aug 17, 2016 7:06 pm
No new posts Syncsort version supporting FINDREP c... juares castro SYNCSORT 9 Tue Aug 09, 2016 6:54 pm
No new posts Faccing issues while creating a GDG V... sravindra_s JCL & VSAM 5 Thu Jun 23, 2016 11:26 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us