View previous topic :: View next topic
|
Author |
Message |
sivatechdrive
Active User
Joined: 17 Oct 2004 Posts: 191 Location: hyderabad
|
|
|
|
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 |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
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 |
|
|
martin9
Active User
Joined: 01 Mar 2006 Posts: 290 Location: Basel, Switzerland
|
|
|
|
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 |
|
|
|