Page 1 of 1

GDG Limit?

Posted: Tue Jul 15, 2014 11:51 am
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.

Re: GDG Limit?

Posted: Tue Jul 15, 2014 4:38 pm
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.