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 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 Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 10 Tue May 16, 2017 2:20 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts Issue with NDM process to transmit ES... chetanambi All Other Mainframe Topics 6 Wed May 03, 2017 10:52 am
No new posts File processing vishwakotin Mainframe Interview Questions 9 Fri Apr 28, 2017 11:38 am
No new posts Occurrence of various strings within ... TS70363 JCL & VSAM 1 Thu Apr 27, 2017 8:18 pm


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