View previous topic :: View next topic
|
Author |
Message |
dev.vinay
New User
Joined: 20 Sep 2006 Posts: 4 Location: Bangalore
|
|
|
|
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 |
|
|
murmohk1
Senior Member
Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
|
|
|
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
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 |
|
|
|