Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
How to modify a GDG BASE?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: How to modify a GDG BASE?
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: 1703
Location: Australia

PostPosted: Fri Jan 18, 2008 10:26 am    Post subject: Reply to: How to modify a GDG BASE?
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    Post subject: Re: Reply to: How to modify a GDG BASE?
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: 1288
Location: Chennai, India

PostPosted: Fri Jan 25, 2008 11:24 am    Post subject: Reply to: How to modify a GDG BASE?
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts retrieving envelope information out o... VintageReceiver TSO/ISPF 6 Thu Aug 10, 2017 8:13 pm
No new posts Best Method/Utility to modify HEX val... MrExtraordinare JCL & VSAM 6 Mon Mar 09, 2015 10:09 pm
No new posts base+displacement addressing scheme jackzhang75 PL/I & Assembler 3 Tue Mar 03, 2015 2:07 am
No new posts How to modify the value using the sig... Vinay Pushpala PL/I & Assembler 3 Fri Feb 13, 2015 2:10 pm
No new posts JOINKEYS or SPLICE? while retaining h... hsinaz50 DFSORT/ICETOOL 4 Thu Apr 17, 2014 12:13 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us