Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Can we alter the LIMIT of a GDG using ALTER command

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
nandini

New User


Joined: 27 Feb 2004
Posts: 18

PostPosted: Mon Jun 07, 2004 7:38 pm    Post subject: Can we alter the LIMIT of a GDG using ALTER command
Reply with quote

Hi

Can we alter the LIMIT of a GDG using ALTER command.?


Nandini
Back to top
View user's profile Send private message

bluebird

Active User


Joined: 03 Feb 2004
Posts: 127

PostPosted: Mon Jun 07, 2004 9:06 pm    Post subject:
Reply with quote

yes in ISPF command line type :
tso help alter and you will find the syntax
Back to top
View user's profile Send private message
sampathkmn
Warnings : 1

New User


Joined: 12 Dec 2005
Posts: 31
Location: bangalore

PostPosted: Thu Oct 23, 2008 8:57 am    Post subject: Reply to: Can we alter the LIMIT of a GDG using ALTER comman
Reply with quote

yes, we can do this


//SYSIN DD *
ALTER gdg-name
LIMIT=new-limit-value
/*
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Thu Oct 23, 2008 11:09 am    Post subject: Re: Reply to: Can we alter the LIMIT of a GDG using ALTER co
Reply with quote

sampathkmn wrote:
yes, we can do this
//SYSIN DD *
ALTER gdg-name
LIMIT=new-limit-value
/*

NOT with the code that you have specified. Did you test it before posting ?

Where is the continuation ?

Even though this is a simple error, please do not post untested code as this can often mislead the people who are trying to resolve problems.
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1703
Location: Australia

PostPosted: Thu Oct 23, 2008 11:20 am    Post subject:
Reply with quote

Hi,

the LIMIT= syntax in not correct


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

Senior Member


Joined: 16 Feb 2007
Posts: 1399
Location: IL, USA

PostPosted: Thu Oct 23, 2008 11:23 am    Post subject:
Reply with quote

Hi,
Code:

1. TSO
From any command line:
TSO ALTER gdg-base-name LIMIT (new-limit)
or from Option 6 in ISPF:
ALTER gdg-base-name LIMIT (new-limit)

2. BATCH
Run an IDCAMS job:
//IDCAMS EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
  ALTER gdg-base-name LIMIT (new-limit)
/*
//


To see details for ALTER see below link
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/DGT2I240/5.0?SHELF=DGT2BK50&DT=20050629061743
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8002
Location: Bellevue, IA

PostPosted: Thu Oct 23, 2008 4:46 pm    Post subject:
Reply with quote

If you're altering the LIMIT, be aware that specifying a smaller number than the current LIMIT will cause generations to roll off the GDG. This is one of those cases where a typo (e.g., LIMIT(1) instead of LIMIT(11)) can have a big impact.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Fri Oct 24, 2008 2:15 am    Post subject:
Reply with quote

Quote:
Mon Jun 07, 2004 7:08 pm
..Mummies Alive .. icon_smile.gif

-Ad
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8002
Location: Bellevue, IA

PostPosted: Fri Oct 24, 2008 3:06 am    Post subject:
Reply with quote

King Tut's exhibit is being unloaded here today ... it's on the news ...
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Sat Oct 25, 2008 1:38 am    Post subject:
Reply with quote

Had a Mummies-ride lately at Universal Studio..Waiting Eagerly for the movie now.. icon_razz.gif

-Ad
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 TSO or command line utility to genera... kishpra JCL & VSAM 3 Thu Mar 09, 2017 1:11 am
No new posts Customizing the ISPF HILITE Command Pedro TSO/ISPF 3 Fri Mar 03, 2017 11:49 pm
No new posts setting new limit Key values for inde... srilata83 DB2 1 Fri Feb 10, 2017 9:24 pm
No new posts Limit CICS CPU resource vasanthz CICS 0 Tue Jan 31, 2017 7:09 am
No new posts Fail to change physical VSAM filename... jacobdng CICS 7 Fri Jan 20, 2017 12:36 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us