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 |
What is the maximum no. of records that can be allowed in VSAM ?
What are the different versions of gdg named?
what do you mean by the repro command?
How do you decide on optimum values for CI, FREESPACE etc...?
in a cobol select statement for a ksds can you tell me what are the 3 possibilities for access?
Explain the device independent method to indicate where a record is stored?
How many cluster index can have in a table?
how to see the last records in vsam dataset??
Can we copy Vsam files from a Vsam file in Iebgener step?
4 Answers iGate, Tech Mahindra,
what do you mean by gdg in vsam?
I have three fields in a Variable VSAM file X(2) Y(10) occurs X times Z(02) Say for the first record X=2 then the length of the file is 2+(10*3)+2=34 second record, x=4 then 4+(10*4)+2=46 If any time if the field x is updated then the total length changes. Is it feasible? Is it
How do I declare the KSDS vsam so that I can store a reocrd with variable length?.