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

Parameter to RELEASE the unused space for VSAM files


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

New User


Joined: 20 Sep 2006
Posts: 4
Location: Bangalore

PostPosted: Fri Jun 22, 2007 3:23 pm
Reply with quote

Hi All,

Do we have any parameter to RELEASE the unused space for VSAM files ?, as we have it for flat files (RLSE).

One more question I have is, as we allocate PRIMARY & SECONDARY space for VSAM files, when we starting loading the data which one would start first and when does SECONDARY allocation come into consideration ?

Thanks,
Vinay.
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1436
Location: Bangalore,India

PostPosted: Fri Jun 22, 2007 3:35 pm
Reply with quote

Vinay,

Quote:
Do we have any parameter to RELEASE the unused space for VSAM files ?, as we have it for flat files (RLSE).


RLSE works during runtime. That is while creating the flat file, if any of the SPACE is not used, space will be released. IDCAMS allocates space for a cluster according to your defintion. To release any unused space between the records, you need to delete,define the vsam.


Quote:
One more question I have is, as we allocate PRIMARY & SECONDARY space for VSAM files, when we starting loading the data which one would start first and when does SECONDARY allocation come into consideration ?


Your question itself contains answer. Please go through and let us know, what you had found.
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Fri Jun 22, 2007 6:05 pm
Reply with quote

Quote:
Quote:
Do we have any parameter to RELEASE the unused space for VSAM files ?, as we have it for flat files (RLSE).


RLSE works during runtime. That is while creating the flat file, if any of the SPACE is not used, space will be released. IDCAMS allocates space for a cluster according to your defintion. To release any unused space between the records, you need to delete,define the vsam.


Yes, you do, but you will need to speak to your storage group to include your cluster(s) into being defined as VSAM-EA.

VSAM-EA is Extended Addressability.
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Joining files with intermittent heade... SYNCSORT 1
No new posts Free space of a mulitvolume PS datase... TSO/ISPF 7
No new posts INPFIL FILES, FNAMES examples SYNCSORT 7
No new posts FileAid move data from two files to o... Compuware & Other Tools 5
No new posts USAGE parameter of RACDCERT CONNECT c... All Other Mainframe Topics 2
Search our Forums:


Back to Top