Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search 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
Author Message
krbabu

Active 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
References
sandip_datta

EXPERT


Joined: 02 Dec 2003
Posts: 152
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

Active 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: 257
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

Active 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: 1506

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
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL All times are GMT + 6 Hours
Page 1 of 1