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
 

 

Doubt on GDG

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Doubt on GDG
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: 151
Location: Tokyo, Japan

PostPosted: Thu Feb 26, 2004 3:47 pm    Post subject:
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    Post subject:
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: 238
Location: USA

PostPosted: Thu Feb 26, 2004 3:56 pm    Post subject:
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    Post subject:
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    Post subject:
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    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 Doubt in MFS abdulrafi IMS DB/DC 2 Fri Oct 21, 2016 3:09 pm
No new posts Doubt on GETMAIN, FREEMAIN behaviour Arunkumar Chandrasekaran CICS 3 Sun Aug 30, 2015 9:22 pm
No new posts Doubt in using command code O Appu IMS DB/DC 4 Tue Jan 13, 2015 3:14 pm
No new posts Doubt in using command code D and N t... Appu IMS DB/DC 7 Mon Dec 29, 2014 5:52 pm
This topic is locked: you cannot edit posts or make replies. ISREDIT macro command doubt sakrat TSO/ISPF 60 Wed Feb 05, 2014 6:47 pm


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