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

How to increase the VSAM file space ?


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

New User


Joined: 07 Sep 2006
Posts: 3

PostPosted: Tue May 27, 2008 7:44 pm
Reply with quote

Hi All,

Can anyone tell me how to increase the VSAM file space that allocated already ? I created the files with less space CYL(10,10) now i have increase the cylinders to (100,100) to accomodate more data and for future additions.[/b]
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Tue May 27, 2008 7:55 pm
Reply with quote

Without a delete/define, I don't think it is possible.
The ALTER command modifies the attributes of previously defined catalog entries.
But the allocation doesn't seem to be alterable......
Back to top
View user's profile Send private message
dhandath

New User


Joined: 07 Sep 2006
Posts: 3

PostPosted: Tue May 27, 2008 8:34 pm
Reply with quote

Yes, I decided to do delete/re-define if i don't find any other option. I am searching for some options to do it single command as my file count is bit large (more than 200 files).
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed May 28, 2008 3:56 am
Reply with quote

Hello,

Unless all of the existing data is "practice" and can be discarded, make sure to take a backup first. . .
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Wed May 28, 2008 9:56 am
Reply with quote

Why not look at ALTER ADDVOL to increase the number of volumes that the cluster can use
Back to top
View user's profile Send private message
dhandath

New User


Joined: 07 Sep 2006
Posts: 3

PostPosted: Wed May 28, 2008 3:58 pm
Reply with quote

I beleive ADDVOL will not work if we define the files with TRK(10,10) and we try to extend the file by loading huge amt of records into it. I guess, if all the space specified for that dataset in DEFINE statment is allocated, we can't further extend the dataset even by adding volumes to that dataset.
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Wed May 28, 2008 4:02 pm
Reply with quote

By adding another volume you get the same, 123 extents I believe, allocated onto a second or third or .............. volume.

However, TRK(10 10) for huge data volumes does seem a little careless to me icon_biggrin.gif
Back to top
View user's profile Send private message
Przemyslaw Krekora

New User


Joined: 20 Feb 2008
Posts: 9
Location: Poland

PostPosted: Sat May 31, 2008 3:26 am
Reply with quote

Maybe you shuould use IDCAMS- REPRO command to copy the contents of smaller file to new larger
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 Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Replace each space in cobol string wi... COBOL Programming 3
Search our Forums:

Back to Top