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

Can we alter the LIMIT of a GDG using ALTER command


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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
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
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: 8797
Location: Welsh Wales

PostPosted: Thu Oct 23, 2008 11:09 am
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: 1702
Location: Australia

PostPosted: Thu Oct 23, 2008 11:20 am
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
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
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: 8696
Location: Dubuque, Iowa, USA

PostPosted: Thu Oct 23, 2008 4:46 pm
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

Superior Member


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

PostPosted: Fri Oct 24, 2008 2:15 am
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: 8696
Location: Dubuque, Iowa, USA

PostPosted: Fri Oct 24, 2008 3:06 am
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

Superior Member


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

PostPosted: Sat Oct 25, 2008 1:38 am
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts RACF - Rebuild SETROPTS command which... All Other Mainframe Topics 3
No new posts Routing command Address SDSF to other... TSO/ISPF 2
No new posts DTL - how to define key with stacked ... TSO/ISPF 3
No new posts LTJ command CA Products 4
No new posts DROP & ALTER PARTITION-PBR DB2 0
Search our Forums:

Back to Top