View previous topic :: View next topic
|
Author |
Message |
BAJJI
New User
Joined: 15 Jul 2005 Posts: 47
|
|
|
|
Hi,
My aim is to reduce the limit of GDG from 10 to 5.
I created a GDG with limit 10 as shown
DEF GDG (NAME(KIRAN.SAMPLE.GDG) LIM (10) NEMP SCR )
and then when i try to reduce the limit to 5 using Alter command
ALTER 'KIRAN.SAMPLE.GDG' LIM (5)
I see a return code of zero but the limit is not getting reduced, it is still 10 only.
Can anyone suggest if i missed out anything or, is there any other way to reduce the limit of GDG.
thanks in advance,
Kiran. |
|
Back to top |
|
|
prav_06 Warnings : 1 Active User
Joined: 13 Dec 2005 Posts: 154 Location: The Netherlands
|
|
|
|
Kiran,
Quote: |
I see a return code of zero but the limit is not getting reduced, it is still 10 only. |
Can u please justify this, did u try to alter the GDG to limit 5 when it had already created 10 gen. please let us know.
Thamilzan. |
|
Back to top |
|
|
BAJJI
New User
Joined: 15 Jul 2005 Posts: 47
|
|
|
|
Exactly Thamilzan,
I dont know what went on in that,
but now i found the solution,
when i typed it on command line as
TSO ALTER 'KIRAN.SAMPLE.GDG' LIMIT (5)
and pressed enter, it altered the limit of GDG to 5.
But I still cant figure out why the same alter command didnt workout in a JCL.
thanks for all your support,
Kiran. |
|
Back to top |
|
|
prav_06 Warnings : 1 Active User
Joined: 13 Dec 2005 Posts: 154 Location: The Netherlands
|
|
|
|
Kiran,
Post u r JCL might be having some issues in the same thats y u got an error , if ya TSO command works u r JCL shd also work, Check u r syntax.
Thamilzan. |
|
Back to top |
|
|
BAJJI
New User
Joined: 15 Jul 2005 Posts: 47
|
|
|
|
//KIRAN JOB (6500,CL),KIRAN,CLASS=L,MSGCLASS=X,REGION=2048K,
// NOTIFY=&SYSUID
//STEP1 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
/* DEF GDG (NAME(KIRAN.SAMPLE.GDG) LIM (10) NEMP SCR )
ALTER 'KIRAN.SAMPLE.GDG' LIM (5)
/* |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
"/* DEF GDG (NAME(KIRAN.SAMPLE.GDG) LIM (10) NEMP SCR )"
sysin EOFed before readng the alter..... |
|
Back to top |
|
|
prav_06 Warnings : 1 Active User
Joined: 13 Dec 2005 Posts: 154 Location: The Netherlands
|
|
|
|
Kiran,
An alter JCL can be given for a GDG which has been already created, try to split u r JCL in to two, the first one creating the GDG base and the second one to alter thje same , don't try to club the define st. and the alter st. on to the same JOB , If i am not wrong u would have got a Maxcc=8 , please do the creation in one job and the altering part in the other job.
Thamilzan. |
|
Back to top |
|
|
|