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

Question about GDG


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
arun nehra

New User


Joined: 29 Nov 2008
Posts: 62
Location: mumbai

PostPosted: Fri Dec 11, 2009 6:10 pm
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


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

PostPosted: Fri Dec 11, 2009 6:23 pm
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8796
Location: Welsh Wales

PostPosted: Fri Dec 11, 2009 6:23 pm
Reply with quote

Please DO NOT add your topic onto an existing thread, especially one that has been happily dormant for almost 4 years icon_rolleyes.gif

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
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Fri Dec 11, 2009 6:24 pm
Reply with quote

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
View user's profile Send private message
arun nehra

New User


Joined: 29 Nov 2008
Posts: 62
Location: mumbai

PostPosted: Fri Dec 11, 2009 7:03 pm
Reply with quote

Thanks Peter for your advice...
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Fri Dec 11, 2009 7:08 pm
Reply with quote

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? icon_idea.gif
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


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

PostPosted: Fri Dec 11, 2009 7:16 pm
Reply with quote

Peter: coordinated responses? What a radical idea! icon_smile.gif
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8796
Location: Welsh Wales

PostPosted: Fri Dec 11, 2009 7:17 pm
Reply with quote

Peter: coordinated responses? What a radical idea! icon_smile.gif
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Fri Dec 11, 2009 11:01 pm
Reply with quote

Hell, i was just to trying to get intimated with you guys.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19243
Location: Inside the Matrix

PostPosted: Fri Dec 11, 2009 11:15 pm
Reply with quote

Quote:
Hell, i was just to trying to get intimated with you guys.

What a radical idea! icon_smile.gif
Back to top
View user's profile Send private message
arun nehra

New User


Joined: 29 Nov 2008
Posts: 62
Location: mumbai

PostPosted: Fri Jan 15, 2010 3:46 pm
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


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

PostPosted: Fri Jan 15, 2010 4:02 pm
Reply with quote

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
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 -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts OPC scheduling question IBM Tools 0
No new posts Question for file manager IBM Tools 7
No new posts question for Pedro TSO/ISPF 2
No new posts question on Outrec and sort #Digvijay DFSORT/ICETOOL 20
No new posts panel creation question TSO/ISPF 12
Search our Forums:

Back to Top