| Author |
Message |
chiru_sh
New User
Joined: 21 Feb 2008 Posts: 9 Location: Mumbai
|
|
|
|
Hi,
Its not same old question.
But the problem I am having is:
I am having a GDG having limit as 2 and following is the way I am using and accessing GDGs...
STEP01
GDG1 DD DSN=MY.GDG(+1),DISP=(NEW,CATLG,DELETE)
STEP02
GDG2 DD DSN=MY.GDG(+2),DISP=(NEW,CATLG,DELETE)
STEP03
GDG3 DD DSN=MY.GDG(+3),DISP=(NEW,CATLG,DELETE)
STEP04
GDG1 DD DSN=MY.GDG(+1),DISP=SHR
STEP05
GDG2 DD DSN=MY.GDG(+2),DISP=SHR
STEP06
GDG3 DD DSN=MY.GDG(+3),DISP=SHR
The option used while creating GDGs is NOEMPTY.
Can anyone help me on this. Thanks in advance. |
|
| Back to top |
|
 |
References
|
Posted: Sun Mar 30, 2008 12:35 pm Post subject: Re: GDG when LIMIT has reached |
 |
|
|
 |
chiru_sh
New User
Joined: 21 Feb 2008 Posts: 9 Location: Mumbai
|
|
|
|
can anyone tell me what will happen i above case limit of GDG is 2.
Thanks. |
|
| Back to top |
|
 |
enrico-sorichetti
Global Moderator
Joined: 14 Mar 2007 Posts: 1797 Location: italy
|
|
|
|
is there something/somebody preventing from changing the gdg limit ??
depending on the gdg creation options older generation might disapperar/scratched when creating a new one
or review Your gdg usage logic |
|
| Back to top |
|
 |
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 2154 Location: Brussels once more ...
|
|
|
|
Well, what exactly is your problem. You have shown the code but not the problem.
What is it that you want to know or need help with. |
|
| Back to top |
|
 |
chiru_sh
New User
Joined: 21 Feb 2008 Posts: 9 Location: Mumbai
|
|
|
|
I want to know that what will happen in above case. Will the version created in step STEP03 will overite the GDG created in STEP01.
If yes, then what would happen to STEP04 and STEP06.
It is not like that I cannot increase the LIMIT. But it is my query what will happen in above case. |
|
| Back to top |
|
 |
enrico-sorichetti
Global Moderator
Joined: 14 Mar 2007 Posts: 1797 Location: italy
|
|
|
|
why don' t You run a simple test like
define a testgdg base
allocate in the way you want to know about,
to make the test complete repro in each generation a simple line
( REPRO INDD(SYSIN) OUTDD(GDGDD) )
list the catalog
and let us know the result
what You ask for needs a deep digging in the manuals,
and apart that each one of us never created gdgs with a limit less than the number of generations referred in any jcl |
|
| Back to top |
|
 |
|
|