Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 Speed-up/reduce CPU use of code prino PL/I & Assembler 0 Tue Sep 26, 2017 12:05 am
This topic is locked: you cannot edit posts or make replies. Limit access to certain RACF group cvnlynn CLIST & REXX 5 Wed Aug 23, 2017 2:28 am
No new posts Can we limit length in concatenation ... balaji81_k DB2 7 Tue Aug 22, 2017 2:50 am
No new posts Reduce CPU Times for Join Sort santoshn SYNCSORT 12 Sat Jun 10, 2017 1:40 pm
No new posts setting new limit Key values for inde... srilata83 DB2 1 Fri Feb 10, 2017 9:24 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us