| IBM MAINFRAME HELP & SUPPORT FORUMS Technical Forums for IBM Mainframe Applications like COBOL, JCL, CICS, DB2, FileAid, DFSORT, Endevor, Xpediter, CoolGen, CA-7&11, AbendAid, IMS, IDMS, PL/I, MqSeries, SyncSort, Assembler, ChangeMan, Easytrieve, InterTest, REXX, CLIST etc...
|
| View previous topic :: View next topic |
| Author |
Message |
mijanurit
Joined: 26 Aug 2005
Posts: 46
Location: bangalore
|
| Posted: Tue Sep 02, 2008 8:09 pm Post subject: What is VSAM reorganisation ? |
|
|
What is VSAM reorganisation and how frequently we need to do it?
Rahman |
|
| Back to top |
|
Robert Sample
Joined: 06 Jun 2008
Posts: 943
Location: Atlanta, GA
|
| Posted: Tue Sep 02, 2008 8:29 pm Post subject: |
|
|
| 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 |
|
Garry Carroll
Joined: 08 May 2006
Posts: 171
Location: Dublin, Ireland
|
| Posted: Wed Sep 03, 2008 1:46 am Post subject: |
|
|
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 |
|
| |
THIS IS AN ARCIVE FORUM IN READ ONLY MODE. IF YOU WANT TO ASK YOUR DOUBTS USE THE ACTUAL FORUM
|