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
 

 

how can i change the Length of GDG

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: how can i change the Length of GDG
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: 8593
Location: Back in jolly old England

PostPosted: Mon Apr 23, 2007 6:26 pm    Post subject:
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    Post subject: Re: how can i change the Length of GDG
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    Post subject:
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    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 Fail to change physical VSAM filename... jacobdng CICS 6 Fri Jan 20, 2017 12:36 pm
No new posts SQZ pipe delimited file with 1 column... Rick Silvers DFSORT/ICETOOL 2 Sun Nov 06, 2016 8:11 pm
No new posts Joinkeys operation when key1 and key2... Susanta DFSORT/ICETOOL 5 Wed Nov 02, 2016 5:35 pm
No new posts Format to pipe delimited with variabl... pshongal SYNCSORT 6 Wed Sep 14, 2016 2:48 pm
No new posts Change date (DD/MM/YY) in 2nd record ... uday kiran DFSORT/ICETOOL 12 Wed Sep 07, 2016 10:57 pm


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