IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Doubt on GDG


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
krbabu

New User


Joined: 20 Feb 2004
Posts: 57

PostPosted: Thu Feb 26, 2004 3:36 pm
Reply with quote

Hi
What is the meaning of V in GDg........
G00001V00
Back to top
View user's profile Send private message
sandip_datta

Active User


Joined: 02 Dec 2003
Posts: 150
Location: Tokyo, Japan

PostPosted: Thu Feb 26, 2004 3:47 pm
Reply with quote

It means VERSION..
Back to top
View user's profile Send private message
krbabu

New User


Joined: 20 Feb 2004
Posts: 57

PostPosted: Thu Feb 26, 2004 3:56 pm
Reply with quote

Can u explain about the use of Version
Back to top
View user's profile Send private message
mdtendulkar

Active User


Joined: 29 Jul 2003
Posts: 237
Location: USA

PostPosted: Thu Feb 26, 2004 3:56 pm
Reply with quote

Hello krbabu,

GnnnnVnn

1) 'G' - is a constant character referring to the word Generation

2) 'nnnn' - is a Generation number consisting of four digits. This number starts at 0001 and goes to 9999 before repeating (the only time a lower number means a newer data set chronologically)

3) 'V' - is a constant character referring to the word Version

4) 'nn' - is a Version number consisting of two digits. At 00 this number starts at 00 and goes to 99.

NOTE:
The Version number default is '00'. It is extremely rare for a Version greater than '00'. Version numbers are used when you wish to keep the same generation number but also want to have different versions.


An example of this situation might be when 'G0006V00' contains data for your personnel file that has old department numbers, however 'G0006V01' contains the same data with new department numbers.


Hope this helps,

Regards
Mayuresh Tendulkar
Back to top
View user's profile Send private message
krbabu

New User


Joined: 20 Feb 2004
Posts: 57

PostPosted: Thu Feb 26, 2004 4:01 pm
Reply with quote

thanks Mayuresh,
Your example is excellent but what is case have 100 departments? Shall we store it on another generation?
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Fri Feb 27, 2004 10:30 am
Reply with quote

Hi Ravindra,

One point to keep in mind and it's important: Only one version can exist for a generation in a GDG at any given time. I'm not sure if the previous version is deleted, but I do know that it is removed from the GDG. Surely if the GDG was created with the force or purge option it will be deleted.

Regards, Jack.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Doubt about pl/1 (job offer) General Talk & Fun Stuff 5
No new posts doubt when executing a file when logg... TSO/ISPF 2
No new posts Doubt in MFS IMS DB/DC 2
No new posts Doubt on GETMAIN, FREEMAIN behaviour CICS 3
No new posts Doubt in using command code O IMS DB/DC 4
Search our Forums:

Back to Top