View previous topic :: View next topic
|
Author |
Message |
arun nehra
New User
Joined: 29 Nov 2008 Posts: 62 Location: mumbai
|
|
|
|
Hi,
Can any one tell if the current GDG version can be refernced without specifying version specifier i.e. (+0) etc.
I am facing this issue in a copy step using IEBGENER utility; where a GDG file AAAA.BBBB(+0) is referred as AAAA.BBBB.
Regards
Arun |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
Terminology note: version and generation are both valid terms for a GDG and mean extremely different things. There can only be one version of a generation cataloged at a time while there can be multiple generations in the catalog. You need to figure out which you are referring to by reading the manuals (link at the top of the page) until you understand this.
If the GDG base name is used without a relative or absolute generation reference, you are not getting the current GDG generation. You are getting all cataloged generations.
And why are you adding to a topic that has been inactive for 3 and 1/2 years? |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8796 Location: Welsh Wales
|
|
|
|
Please DO NOT add your topic onto an existing thread, especially one that has been happily dormant for almost 4 years
When talking about GDS it is important to use the correct terminology, as both version and generation are both valid in terms of a GDS.
It is a well known fact that only one version of a GDS may exist at any one time, however, multiple generations may exist together.
Please learn and use the correct terminology when posting, as using the wrong term can cause confusion and possibly delay a resolution to your problem
Your question is not clear. Please try again and also post the JCL in question. |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
Sure you can do that, the result will be that you are allocating all members
of that GDG group.
And if there are a lot of GDG entries in that group a lot of people will not
be happy, especially if they are tape datasets. |
|
Back to top |
|
|
arun nehra
New User
Joined: 29 Nov 2008 Posts: 62 Location: mumbai
|
|
|
|
Thanks Peter for your advice... |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
Damn Robert and expat, we are almost clashing with our responses at the same time.
Maybe we first pm each other to make response deals? |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
Peter: coordinated responses? What a radical idea! |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8796 Location: Welsh Wales
|
|
|
|
Peter: coordinated responses? What a radical idea! |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
Hell, i was just to trying to get intimated with you guys. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Quote: |
Hell, i was just to trying to get intimated with you guys. |
What a radical idea! |
|
Back to top |
|
|
arun nehra
New User
Joined: 29 Nov 2008 Posts: 62 Location: mumbai
|
|
|
|
Hi,
I am creating new GDG generation member using (+1) suffix in first step. then in next step i want to compare the current (one created above) and the privious (older) generation member. How should i reference the both.
As far as i know the new member can be referenced by giving (+0) suffix, but if that is the case then what about older one, is it (-1)?
Regards |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
As long as the job is running, every relative reference to a particular generation must be the same. If you created (+1) in step 1 of your job and want to reference that file in step 3 of the same job, you must use (+1) in step 3. The (+0) generation is the generation that was the latest before the job started running -- and remains so until the job is done, at which time it becomes the (-1) generation.
This is all explained in the JCL reference manual which can be reached from the manuals link at the top of the page. |
|
Back to top |
|
|
|