Increasing GDG limit without IDCAMS.
-
- Registered Member
- Posts: 13
- Joined: Fri May 20, 2016 1:37 pm
Increasing GDG limit without IDCAMS.
Hello,
Can we increase the limit of a GDG to more than 1000 by some other means than IDCAMS? Is it possible only through changing limit of GDG one by one in IDCAMS?
And if I need to increse the limit of many GDGs in signle go can we do that? Please help.
Thanks.
Can we increase the limit of a GDG to more than 1000 by some other means than IDCAMS? Is it possible only through changing limit of GDG one by one in IDCAMS?
And if I need to increse the limit of many GDGs in signle go can we do that? Please help.
Thanks.
- enrico-sorichetti
- Global Moderator
- Posts: 843
- Joined: Wed Sep 11, 2013 3:57 pm
Re: Increasing GDG limit without IDCAMS.
the GDG max generation number is 255
and You/Your organisation will have to live with it
why would You/Your organisation use a different system utility for the task
a single IDCAMS step can contain as many commands as You want/need
and You/Your organisation will have to live with it
why would You/Your organisation use a different system utility for the task
a single IDCAMS step can contain as many commands as You want/need
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort

-
- Global Moderator
- Posts: 490
- Joined: Sun Aug 25, 2013 7:24 pm
- enrico-sorichetti
- Global Moderator
- Posts: 843
- Joined: Wed Sep 11, 2013 3:57 pm
Re: Increasing GDG limit without IDCAMS.
I think the latest z/OS has new limits.

amending my previous reply and quoting the manual
read and meditate the above snippet from the manual ...Using the Generation Data Group enhancements:
Extended format for generation data groups (GDGs):
z/OS V2R2 introduces a new extended format for generation data groups (GDGs). Extended format GDGs can contain up to 999 generation data sets (GDSes). The previous GDS limit was 255 GDSes per GDG. New GDGs can be defined with this new extended format. For existing GDGs, the previous GDS limit still applies.
To support this enhancement, the IDCAMS DEFINE GDG command includes a new optional parameter (EXTENDED) that you can specify to enable a new GDG to contain up to 999 GDSes. If you do not specify that parameter, the default value (NOEXTENDED) takes effect, setting a limit of 255 GDSes for the GDG.
A new GDGEXTENDED parmlib variable lets you specify whether to allow the EXTENDED value to be used on DEFINE of a GDG. If GDGEXTENDED(NO) (the default) is specified, then the DEFINE of a GDG with the EXTENDED parameter is not allowed. If GDGEXTENDED(YES) is specified, then the DEFINE of a GDG with the EXTENDED parameter is allowed. For more information, see the description of IGGCATxx in z/OS MVS Initialization and Tuning Reference.
The LIMIT parameter on the IDCAMS DEFINE GDG command is changed to accept a maximum value of 999 for extended GDGs. The previous maximum LIMIT value of 255 still applies to GDGs which are not defined as EXTENDED.
For extended GDGs, the IDCAMS ALTER LIMIT command is also enhanced to let you set a new GDS limit of up to 999 for the GDG. The z/OS Generic Tracking Facility has also been used to help determine if any calls to Catalog Management are only requesting the classic GDG limit, and not the extended GDG limit.
You will have to live with the limits imposed by dfsms
and my question on the why not IDCAMS is still valid
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort

-
- Registered Member
- Posts: 13
- Joined: Fri May 20, 2016 1:37 pm
Re: Increasing GDG limit without IDCAMS.
Thanks enrico-sorichetti. It was to learn different ways of doing same thing. I have noticed some of the examples making use of IKJEFT01 JCL too but looks like ti calls IDCAMS only.
-
- Registered Member
- Posts: 13
- Joined: Fri May 20, 2016 1:37 pm
- Robert Sample
- Global Moderator
- Posts: 1903
- Joined: Fri Jun 28, 2013 1:22 am
- Location: Dubuque Iowa
Re: Increasing GDG limit without IDCAMS.
Changing the number of generations is a catalog function, so why would ANYBODY use anything but IDCAMS to do it? Whether the IDCAMS is invoked through TSO or batch doesn't make a difference -- IDCAMS is used to work with catalogs.I have noticed some of the examples making use of IKJEFT01 JCL too but looks like ti calls IDCAMS only.
-
- Registered Member
- Posts: 13
- Joined: Fri May 20, 2016 1:37 pm
Re: Increasing GDG limit without IDCAMS.
Thanks. After some search I could perhaps understand that whether we use IDCAMS directly or use it using IKJEFT01, it's the same thing. Is not it?
- Robert Sample
- Global Moderator
- Posts: 1903
- Joined: Fri Jun 28, 2013 1:22 am
- Location: Dubuque Iowa
Re: Increasing GDG limit without IDCAMS.
It is the same IDCAMS no matter how you invoke it -- period.
Create an account or sign in to join the discussion
You need to be a member in order to post a reply
Create an account
Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute