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

How to modify a GDG BASE?


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

New User


Joined: 22 Jun 2007
Posts: 42
Location: Chennai

PostPosted: Fri Jan 18, 2008 10:14 am
Reply with quote

I have a GDG base that can have 255 generations? But I want reduce it to 3. How can I do this modification?
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1702
Location: Australia

PostPosted: Fri Jan 18, 2008 10:26 am
Reply with quote

Hi

try IDCAMS

ALTER dsname LIM(03)



Gerry
Back to top
View user's profile Send private message
ayansau

New User


Joined: 22 Jun 2007
Posts: 42
Location: Chennai

PostPosted: Fri Jan 25, 2008 11:15 am
Reply with quote

gcicchet wrote:
Hi

try IDCAMS

ALTER dsname LIM(03)



Gerry


Could you please give me the syntax.
and how do I know that changes done successfully.
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1287
Location: Chennai, India

PostPosted: Fri Jan 25, 2008 11:24 am
Reply with quote

ayanasu,

Quote:
Could you please give me the syntax.


You could have googled/searched this forum for the syntax. Anyways here goes the syntax

Code:
//GDGARU  EXEC PGM=IDCAMS             
//SYSPRINT DD SYSOUT=*               
//SYSIN    DD *                       
 ALTER        userid.ALTER.GDG.BASE -
 LIMIT(03)                           
/*                                   


Quote:
and how do I know that changes done successfully.


You can run a job and check the same.
Back to top
View user's profile Send private message
ayansau

New User


Joined: 22 Jun 2007
Posts: 42
Location: Chennai

PostPosted: Fri Jan 25, 2008 12:42 pm
Reply with quote

Thanks a lot its working fine...
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 How to modify file content using REXX CLIST & REXX 3
No new posts Modify Several JCLs at the Same Time JCL & VSAM 6
No new posts Modify the shareoptions of VSAM in De... CLIST & REXX 30
No new posts Modify the value of a extensionvariab... CLIST & REXX 29
No new posts retrieving envelope information out o... TSO/ISPF 6
Search our Forums:

Back to Top