IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Can we REDUCE the LIMIT of GDG using ALTER command?


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Ladha
Warnings : 1

New User


Joined: 15 Sep 2006
Posts: 4
Location: Pune

PostPosted: Fri Jan 12, 2007 3:49 pm
Reply with quote

Hi,

We use ALTER command to alter any of the attributes of a GDG...just a doubt...can we reduce the Limit of a GDG once it has been established?

My client side machine do not allow me any alterations on GDGs and hence can not try the same out...so any reference/link with your answer will be really helpful.

In case there are attachements you can mail me @ ***EMail ID REMOVED... Use CODE tag to include mail id***

Thanks & Regards,
Anand Laddha
Back to top
View user's profile Send private message
raak

Active User


Joined: 23 May 2006
Posts: 166
Location: chennai

PostPosted: Fri Jan 12, 2007 6:39 pm
Reply with quote

Yes , u CAN...
using the same ALTER command, u can reduce the limit
Back to top
View user's profile Send private message
priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1448
Location: Chicago, IL

PostPosted: Sat Jan 13, 2007 9:41 am
Reply with quote

Anand,

You need to be cautious reducing limit of existing number of generation... It might cause you lose of data... See the manual for ALTER...
manual wrote:
LIMIT(limit) :- Used to modify the maximum number (between 1 and 255) of active generation data sets (GDSs) that might be associated with a generation data group (GDG) base.

If the limit is less than the current number of active generations, the oldest generations are rolled off until the new limit is satisfied. Any GDSs that are rolled off by this command are listed showing their new status (recataloged, uncataloged, or deleted).

If the limit is greater than the current number of active generations, it does not cause the roll-in of existing rolled off GDSs. For this function, see the ROLLIN parameter.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts RACF - Rebuild SETROPTS command which... All Other Mainframe Topics 3
No new posts Routing command Address SDSF to other... TSO/ISPF 2
No new posts DTL - how to define key with stacked ... TSO/ISPF 3
No new posts LTJ command CA Products 4
No new posts DROP & ALTER PARTITION-PBR DB2 0
Search our Forums:

Back to Top