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

how can i change the Length of GDG


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

New User


Joined: 09 Jun 2006
Posts: 18

PostPosted: Mon Apr 23, 2007 6:19 pm
Reply with quote

Hi

How can i change the length of current generation i.e., generation (0)
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Mon Apr 23, 2007 6:26 pm
Reply with quote

You can't. It exists as it exists.

You could use SORT or ICETOOL or ICEGENER to reformat the records and then recreate the GDG version.
Back to top
View user's profile Send private message
bruce_R_vortien

New User


Joined: 27 Apr 2007
Posts: 1
Location: chicago

PostPosted: Sat Apr 28, 2007 3:12 am
Reply with quote

By 'length of a GDG' I assume you mean the number of entries, as in the LIMIT(nnn) used when the GDG was built.

Do This:

Via SPF 3.4, display the GDG base.

Then OVERTYPE the line that contains the GDG BASE with this:


ALTER / LIMIT(nnn)


where nnn is the desired number of entries.

This assumes that nnn is greater than the number originally used. If you want to make the number lower, then delete all the entries you do not want and then do the ALTER.



You can accomplish the same via IDCAMS in batch.
Back to top
View user's profile Send private message
raak

Active User


Joined: 23 May 2006
Posts: 166
Location: chennai

PostPosted: Sat Apr 28, 2007 11:05 am
Reply with quote

Hi Bruce,

I don't think this was what reddy307 asked for.

Quote:
By 'length of a GDG' I assume you mean the number of entries, as in the LIMIT(nnn) used when the GDG was built.


By length, what i would dare to guess is the LRECL of the GDG generation..

Coz i don't think anybody wil ask to change the limits of CURRENT GENERATION of a gdg... icon_smile.gif
Quote:
How can i change the length of current generation i.e., generation (0)
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 Store the data for fixed length COBOL Programming 1
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts PARSE Syntax for not fix length word ... JCL & VSAM 7
No new posts VB to VB copy - Full length reached SYNCSORT 8
No new posts 3270 personal communications. Can't c... TSO/ISPF 2
Search our Forums:

Back to Top