Altering a GDG limit

JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...
Swarna S
Posts: 6
Joined: Sun Mar 23, 2008 1:06 pm
Skillset: COOBOL ,CICS
Referer: Google Search

Altering a GDG limit

Postby Swarna S » Thu Mar 27, 2008 8:51 pm

Hello guys,

Is there a wayout to alter a GDG limit for a dataset without affecting the existing ones.Can i change GDG limit of a dataset from 5 to 15, retaining the existing 5 versions as it is.Please let me know.

Thanks a lot!!!!

arunprasad.k
Posts: 110
Joined: Thu Dec 27, 2007 5:18 pm
Skillset: Known little stuffs to answer a few queries!!
Referer: Google
Contact:

Re: Altering a GDG limit

Postby arunprasad.k » Thu Mar 27, 2008 10:19 pm

Use this JCL.

Code: Select all

//S01     EXEC PGM=IDCAMS                 
//SYSPRINT  DD SYSOUT=*                   
    ALTER YOUR.GDG.BASE  LIMIT(new_limit)     


Post if you face any issues.

Arun.

Swarna S
Posts: 6
Joined: Sun Mar 23, 2008 1:06 pm
Skillset: COOBOL ,CICS
Referer: Google Search

Re: Altering a GDG limit

Postby Swarna S » Fri Mar 28, 2008 8:54 pm

Ya i tried this out today it worked thanks a lot Arun!!!!