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

What is VSAM reorganisation ?


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
mijanurit
Currently Banned

New User


Joined: 26 Aug 2005
Posts: 33
Location: bangalore

PostPosted: Tue Sep 02, 2008 8:09 pm
Reply with quote

What is VSAM reorganisation and how frequently we need to do it?

Rahman
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8697
Location: Dubuque, Iowa, USA

PostPosted: Tue Sep 02, 2008 8:29 pm
Reply with quote

You reorganize a VSAM file by unloading the data from it, deleting, defining, and reloading the data into it. This is done to remove CI/CA splits, which slow down data access. As to how frequently you need to do it, that depends entirely upon the circumstances. A file that has no CI/CA splits isn't going to benefit from a reorganization. A file that splits hundreds or thousands of times a day probably needs a reorganization every night. You have to balance the resources required to reorganize the file versus the additional access required by a file with splits.
Back to top
View user's profile Send private message
Garry Carroll

Senior Member


Joined: 08 May 2006
Posts: 1193
Location: Dublin, Ireland

PostPosted: Wed Sep 03, 2008 1:46 am
Reply with quote

Where a file is getting a high level of CI/CA splits, consideration should be given to adjusting the FREESPACE values. Be aware that the CA freespace should likely be a lower percentage than CI freespace. This is because the freespace is cumulative - i.e. given 100 cyls, CA FSPC of 20 leave 80% available for CIs (80Cyl). If CI FSPC is also 20, then only 80% of that remaining space is available (64Cyl) for initial load of data. Overall, that means 36% of the data area is unused after re-organisation.

CA split only occurs where a CI split requires use of another CA, so these are less frequent than CI splits.

Garry.
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 Access to non cataloged VSAM file JCL & VSAM 18
No new posts Merge two VSAM KSDS files into third ... JCL & VSAM 6
No new posts CVDA value for RRDS VSAM dataset. CICS 2
No new posts VSAM return code 23 - for a Random read COBOL Programming 4
No new posts Open VSAM File in IMS DC Region - DFS... IMS DB/DC 0
Search our Forums:

Back to Top