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: 8797
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 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 Compare 2 files(F1 & F2) and writ... JCL & VSAM 8
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts Write line by line from two files DFSORT/ICETOOL 7
No new posts Access to non cataloged VSAM file JCL & VSAM 18
Search our Forums:

Back to Top