GDG Limit?

Virtual Storage Access method - ESDS, KSDS, RRDS & LDS. Basic direct access method, Basic sequential -, Queued sequential -, Basic partitioned -, Indexed sequential -, Object - access method.
Post Reply
Nitin Gadge
Registered Member
Posts: 27
Joined: Tue Aug 20, 2013 11:32 am

GDG Limit?

Post by Nitin Gadge »

Hi,

I have created a GDG with LIMIT as 5 while it should have been 15. Can I change the LIMIT now? If yes, please help me.
User avatar
Robert Sample
Global Moderator
Global Moderator
Posts: 1895
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
United States of America

Re: GDG Limit?

Post by Robert Sample »

Yes, the limit can be changed.

Code: Select all

//         EXEC PGM=IDCAMS,REGION=0M
//SYSPRINT DD   SYSOUT=*
//SYSIN    DD   *
  ALTER gdg.base.name LIMIT(15)
/*
If you decrease the LIMIT, the older generations will be rolled off the GDG, so existing data could be lost. Increasing the limit, however, won't cause any problems.
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “SMS & VSAM and BDAM, BSAM, QSAM, BPAM, ISAM, OAM.”