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
 

 

versions in GDG

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
sivatechdrive

Active User


Joined: 17 Oct 2004
Posts: 190
Location: hyderabad

PostPosted: Tue Mar 14, 2006 8:25 pm    Post subject: versions in GDG
Reply with quote

Hi Friends


How to keep all the versions of the GDG

I created GDG member using JCl
EM9090.GDGLIB.TEST(+1)
it created Generation data set by name EM9090.GDGLIB.TEST.G0001V00

i want to create a new version like below
EM9090.GDGLIB.TEST.G0001V01
so in the jcl i gave EM9090.GDGLIB.TEST.G0001V01,disp=new

It Created generation dataset by name EM9090.GDGLIB.TEST.G0001V01
but deleted EM9090.GDGLIB.TEST.G0001V00

How to keep this EM9090.GDGLIB.TEST.G0001V00 version


Regards
Siva
Back to top
View user's profile Send private message

superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Tue Mar 14, 2006 8:34 pm    Post subject: Re: versions in GDG
Reply with quote

You can't. You are only allowed one version per generation. Doing otherwise would defeat the whole concept of generation data groups.

Normally, a new version is created as a replacement for the old version, usually as the result of some fix to the data.

The only suggestion I have is to make a copy of the original version first, to either another GDG group, another generation within the same group, or to a plain sequential dataset, then do your update to the version.
Back to top
View user's profile Send private message
martin9

Active User


Joined: 01 Mar 2006
Posts: 287
Location: Basel, Switzerland

PostPosted: Tue Mar 14, 2006 8:41 pm    Post subject:
Reply with quote

hy superk,

is very right,
of course you can refer to a gdg dataset by
using its full name. but if you want to create one,
then work only relativ, i.e. dataset(+1)

if you want to keep any version,
define your gdg limit as big as possible
(if it makes sense),
but better take superk's solution for that,
make a copy.

martin9
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 How to check if any of the GDG versio... ovreddy JCL & VSAM 3 Fri Jun 12, 2015 1:28 am
No new posts Related to GDG versions creations David Robinson JCL & VSAM 5 Tue Jan 20, 2015 11:14 am
No new posts GDG versions not being selected for b... Randy Wood SYNCSORT 2 Wed Aug 27, 2014 10:24 pm
No new posts Multiple GDG versions to a single fil... ouintonfloury JCL & VSAM 8 Fri Sep 13, 2013 8:45 pm
No new posts IMS Versions kris_madras IMS DB/DC 1 Mon May 27, 2013 12:50 pm


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