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

GDG vsersion number change


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

Active User


Joined: 27 Sep 2008
Posts: 193
Location: chennai

PostPosted: Fri May 27, 2016 4:49 pm
Reply with quote

Hi all,

Any one please help to clear my doubt.

When a Version number of GDG is going to change?
The last part of the GDS is given by the system like G0000V00.
Generation number will change as on creating new GDS, but when the Version number V00 is changed to V01 or V02?

Whether it is possible to change or not?

Thanks in advance
Raghunathan
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8569
Location: Dubuque, Iowa, USA

PostPosted: Fri May 27, 2016 5:23 pm
Reply with quote

Yes it can change. However, for the version to change the JCL must reference the fully qualified data set name such as A.B.C.G0123V01; if you use (+1) only you will NEVER see a version change.
Back to top
View user's profile Send private message
daveporcelan

Active Member


Joined: 01 Dec 2006
Posts: 747
Location: Pennsylvania

PostPosted: Fri May 27, 2016 5:31 pm
Reply with quote

Additionally, once you create the V01 version of the data set, the V00 goes away.

Only one version for a particular generation can exist at a time.

I have only done this once in the last twenty years.

I had fifty generations of a file. G0028V00 had bad data an needed to be replaced. I created G0028V01 to replace it.
Back to top
View user's profile Send private message
Raghu navaikulam

Active User


Joined: 27 Sep 2008
Posts: 193
Location: chennai

PostPosted: Fri May 27, 2016 10:18 pm
Reply with quote

Thanks Robert and daveporcelan for your quick help.
Back to top
View user's profile Send private message
Rohit Umarjikar

Global Moderator


Joined: 21 Sep 2010
Posts: 2567
Location: NYC,USA

PostPosted: Fri May 27, 2016 11:22 pm
Reply with quote

You could Google it to know more about GDG Version, as to what are they and their purpose.
Back to top
View user's profile Send private message
enrico-sorichetti

Senior Moderator


Joined: 14 Mar 2007
Posts: 10712
Location: italy

PostPosted: Fri May 27, 2016 11:56 pm
Reply with quote

wouldn' t it be more intelligent to go directly to the mother of the knowledge
( the ibm manuals ) ?
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 A command to change LRECL of an exist... JCL & VSAM 7
No new posts Sort to construct single record from ... SYNCSORT 3
No new posts count the number of records from diff... CA Products 4
No new posts Add week number to a file name or rep... JCL & VSAM 2
No new posts How to count the number of times key ... DFSORT/ICETOOL 14
Search our Forums:

Back to Top