What is a VSAM split?
Answers were Sorted based on User's Feedback
Answer / guest
If there isn't enough space in the control interval VSAM
performs a control interval split by moving some records to
the free control intervals. If there isn't a free control
interval VSAM performs a control area split by allocating a
new control area and moving half of the control intervals to it.
| Is This Answer Correct ? | 16 Yes | 0 No |
Answer / krishna
When there isn't enough space in the control interval VSAM performs a control interval split by moving some records to the free control intervals. If there isn't a free control interval, VSAM performs a control area split by allocating a new control area and moving half of the control intervals to it.
There are two types of splits used extensively in VSAM.
CI-SPLIT Movement of some records from an existing CI to another free CI in the same CA because a record add or update cannot be accommodated in the existing one.
A CI split requires a number of I/O operations and this degrades the performance of the VSAM file. The correct amount of the space will need to be allocated for the CI (internal percentage of free space allocation). This will result in two half-empty CI's instead of one full and one empty CI.
CA-SPLIT Movement of the half of the records in an existing CA to a new CA because a record add or update cannot be accommodated in the existing CA. This results in two approximately half-full CA's instead of one full and one empty CA. This is inefficient because it involves a high level of I/O operations.
| Is This Answer Correct ? | 4 Yes | 2 No |
explain how can you initialize a vsam file before any operation?
what is the concept of IMPORT in vsam??
What's a LDS (Linear Data Set) and what's it used for?
what does a file status of 02 on a vsam signifies?
Define gdg?
is it slower if you access a record through alternative index as compared to primary index?
How do you load a VSAM data set with records ?
What is the purpose of idcams?
Explain about the file objects in vsam?
How do you decide on optimum values for CI, FREESPACE etc...?
How to get the last record in vsam file in cluster? And how can u get the ksds file records into cobol program?
The first VSAM file V1 has 2 fields A and B . There is a DB2 file which has fields E and f. We need the fields A, B , E and F to another VSAM file called V2. Kindly mention the logic in procedure division in cobol..