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
 

 

Question about GDG

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
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    Post subject: GDG question
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: 7913
Location: Bellevue, IA

PostPosted: Fri Dec 11, 2009 6:23 pm    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Fri Dec 11, 2009 6:23 pm    Post subject:
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: 2422
Location: Netherlands, Amstelveen

PostPosted: Fri Dec 11, 2009 6:24 pm    Post subject:
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    Post subject: GDG base
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: 2422
Location: Netherlands, Amstelveen

PostPosted: Fri Dec 11, 2009 7:08 pm    Post subject:
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: 7913
Location: Bellevue, IA

PostPosted: Fri Dec 11, 2009 7:16 pm    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Fri Dec 11, 2009 7:17 pm    Post subject:
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: 2422
Location: Netherlands, Amstelveen

PostPosted: Fri Dec 11, 2009 11:01 pm    Post subject:
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

Site Director


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

PostPosted: Fri Dec 11, 2009 11:15 pm    Post subject: Reply to: Question about GDG
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    Post subject: Question about GDG
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: 7913
Location: Bellevue, IA

PostPosted: Fri Jan 15, 2010 4:02 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Fault Analyzer - listings question. egrove IBM Tools 4 Thu Aug 11, 2016 5:31 pm
No new posts dataset copy question - REPRO or some... atulxp TSO/ISPF 2 Wed Aug 03, 2016 10:56 pm
No new posts SQL Order By related question Joseph K Thomas DB2 8 Fri Mar 18, 2016 12:53 pm
No new posts DFSort Question krrp DFSORT/ICETOOL 9 Mon Mar 07, 2016 7:11 pm
No new posts Question: REORG on LOB tablespaces rakesh1155 DB2 1 Fri Aug 14, 2015 2:14 pm


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