Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
How to increase the VSAM file space ?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: How to increase the VSAM file space ?
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: 2150
Location: At my coffee table

PostPosted: Tue May 27, 2008 7:55 pm    Post subject:
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    Post subject: Reply to: How to increase the VSAM file space ?
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

Site Director


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

PostPosted: Wed May 28, 2008 3:56 am    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Wed May 28, 2008 9:56 am    Post subject:
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    Post subject: Reply to: How to increase the VSAM file space ?
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: 8593
Location: Back in jolly old England

PostPosted: Wed May 28, 2008 4:02 pm    Post subject:
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    Post subject: By allocating new larger VSAM and copy contents
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    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 VBS and VB, COBOL syntax is the same ... natt.sut COBOL Programming 3 Sun Nov 12, 2017 6:36 am
No new posts Updating data from one file to other!!! Vignesh Sid SYNCSORT 1 Mon Nov 06, 2017 2:42 pm
This topic is locked: you cannot edit posts or make replies. Need help how to pass the ESP variabl... Venkichaitu JCL & VSAM 12 Thu Nov 02, 2017 3:53 am
This topic is locked: you cannot edit posts or make replies. Comparing current time with the time ... arunsoods SYNCSORT 1 Mon Oct 30, 2017 4:07 pm
No new posts Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us