Answer Posted / 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 |
Post New Answer View All Answers
how many buffers are allocated to vsam ksds and esds?
we can define the ksds cluster by two ways by using the file-aid or by using the idcams utility. Explain them.
Is it slower if you access a record through alt index as compared to primary index?
Differentiate between control interval (ci) and control area (ca)?
Tell me how many alternate indexes you can have on a dataset?
Explain what are the optional parameters to the input dataset while loading the empty cluster with the data records?
If fspc(100 100) is specified does it mean that both the control interval and control area will be left empty because 100 % of both ci and ca are specified to be empty?
Explain the device independent method to indicate where a record is stored?
What is a ci split?
what do you mean by the cobol record key clause in vsam?
What is the use of KSDS,LDS,ESDS,RRDS??what is VRRDS?? How are all these useful in realtime scenario??Plz helpme out...Its a recent question in IGATE..
explain how many ways you can load data in a vsam cluster?
what will happen if there is no secondary allocation made for datasets?
is it required that primary key values have to be unique? Do alternate key values have to be unique?
Explain the function of the relative record data set?