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
 

 

How to reduce the GDG limit

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
BAJJI

New User


Joined: 15 Jul 2005
Posts: 47

PostPosted: Mon Feb 26, 2007 2:52 pm    Post subject: How to reduce the GDG limit
Reply with quote

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

prav_06
Warnings : 1

Active User


Joined: 13 Dec 2005
Posts: 154
Location: The Netherlands

PostPosted: Mon Feb 26, 2007 4:16 pm    Post subject:
Reply with quote

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

New User


Joined: 15 Jul 2005
Posts: 47

PostPosted: Mon Feb 26, 2007 4:24 pm    Post subject: Re: How to reduce the GDG limit
Reply with quote

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
View user's profile Send private message
prav_06
Warnings : 1

Active User


Joined: 13 Dec 2005
Posts: 154
Location: The Netherlands

PostPosted: Mon Feb 26, 2007 4:32 pm    Post subject:
Reply with quote

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

New User


Joined: 15 Jul 2005
Posts: 47

PostPosted: Mon Feb 26, 2007 4:38 pm    Post subject:
Reply with quote

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

Global Moderator


Joined: 18 Nov 2006
Posts: 3158
Location: Tucson AZ

PostPosted: Mon Feb 26, 2007 4:46 pm    Post subject:
Reply with quote

"/* DEF GDG (NAME(KIRAN.SAMPLE.GDG) LIM (10) NEMP SCR )"
sysin EOFed before readng the alter.....
Back to top
View user's profile Send private message
prav_06
Warnings : 1

Active User


Joined: 13 Dec 2005
Posts: 154
Location: The Netherlands

PostPosted: Mon Feb 26, 2007 4:46 pm    Post subject:
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts setting new limit Key values for inde... srilata83 DB2 1 Fri Feb 10, 2017 9:24 pm
No new posts Limit CICS CPU resource vasanthz CICS 0 Tue Jan 31, 2017 7:09 am
No new posts Limit duplicate records in the SORT pshongal SYNCSORT 6 Mon Nov 21, 2016 12:54 pm
No new posts Commit limit for Delete query through... mf_karthik DB2 10 Thu Dec 17, 2015 12:56 am
No new posts How to reduce PDRB latch contention? Hooman24 IMS DB/DC 0 Sun Jun 22, 2014 8:53 pm


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