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
 

 

Difference between a version and generation in a GDG

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
View previous topic :: :: View next topic  
Author Message
deepak.vl

New User


Joined: 17 Feb 2007
Posts: 38
Location: Hyderabad

PostPosted: Mon Feb 19, 2007 7:05 am    Post subject: Difference between a version and generation in a GDG
Reply with quote

Hi All,
Can anybody explain the difference between a version and generation in a GDG.

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

William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3158
Location: Tucson AZ

PostPosted: Mon Feb 19, 2007 7:20 am    Post subject:
Reply with quote

Go here....http://ibmmainframes.com/viewtopic.php?t=18056&highlight=difference+version+generation+gdg
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Mon Feb 19, 2007 11:58 am    Post subject:
Reply with quote

Hi Deepak,

AGeneration is used to reference one dataset of a Generation Data Group (GDG).

A Version is what most people with GDG questions posting here use to reference a Generation.

It's an inside joke. Actually, a Version references a different instance of the SAME Generation. For example, if you created a Generation - prod.myds.g0003V00 and found the data was in error, you could recreate the Generation with a new version number (G0003V01) and it would replace the Generation (G0003V00) with the erroneous data and keep the same place in the GDG as the original (V00). The system automatically deletes the old Version.

BTW, this is rarely used in practice, so check with your supervisor before attemping this.
Back to top
View user's profile Send private message
deepak.vl

New User


Joined: 17 Feb 2007
Posts: 38
Location: Hyderabad

PostPosted: Sat Feb 24, 2007 10:17 pm    Post subject:
Reply with quote

Thanks mmwife.
But to create a version of a generation, how do we write a JCL? In other way, how do we create a different version of a generation, either manually or from JCL.
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3158
Location: Tucson AZ

PostPosted: Sat Feb 24, 2007 10:40 pm    Post subject:
Reply with quote

deepak.vl wrote:
But to create a version of a generation, how do we write a JCL? In other way, how do we create a different version of a generation, either manually or from JCL.
Define it using the GnnnVnn instead of the (+n).
Back to top
View user's profile Send private message
deepak.vl

New User


Joined: 17 Feb 2007
Posts: 38
Location: Hyderabad

PostPosted: Sun Feb 25, 2007 12:49 am    Post subject:
Reply with quote

William Thompson wrote:
deepak.vl wrote:
But to create a version of a generation, how do we write a JCL? In other way, how do we create a different version of a generation, either manually or from JCL.
Define it using the GnnnVnn instead of the (+n).

Thanks William. I have one more question.
But will this automatically uncatalog the older version?
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3158
Location: Tucson AZ

PostPosted: Sun Feb 25, 2007 12:59 am    Post subject:
Reply with quote

deepak.vl wrote:
I have one more question.
But will this automatically uncatalog the older version?
I know that has been answered, a search would help you, but I think it doesn't uncatalog the V00, but I think that when refering to the Gnnn with (-n), it ignores the V00 and takes the latest Vnn (I think).
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 -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Difference between TWALENG and TWASIZE Arunkumar Chandrasekaran CICS 3 Tue Jan 03, 2017 12:57 pm
No new posts COBOL Version 6.1 Virendra Shambharkar COBOL Programming 5 Tue Nov 01, 2016 11:24 am
No new posts Sticky: difference between ... DUMMY ... and ... enrico-sorichetti JCL & VSAM 0 Mon Oct 17, 2016 4:31 pm
No new posts Random Password (in string format) ge... ezhavendhan COBOL Programming 10 Mon Aug 29, 2016 3:18 pm
No new posts Is there a time Version of DATEDIFF ? Bill Woodger DFSORT/ICETOOL 1 Wed Aug 17, 2016 7:06 pm


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