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
Explain the process in which flat files are converted into vsam files?
Differentiate between control interval (ci) and control area (ca)?
Explain what are the optional parameters to the input dataset while loading the empty cluster with the data records?
OPEN INPUT StudentFile READ StudentFile AT END SET EndOfStudentFile TO TRUE END-READ PERFORM UNTIL EndOfStudentFile DISPLAY StudentId SPACE StudentName SPACE CourseCode SPACE YOBirth READ StudentFile AT END SET EndOfStudentFile TO TRUE END-READ END-PERFORM CLOSE StudentFile STOP RUN what will be output
What is the main function of linear dataset?
in a cobol select statement for a ksds can you tell me what are the 3 possibilities for access?
what will happen if there is no secondary allocation made for datasets?
if you wish to use the rewrite command how must the vsam file be opened?
how can you load a vsam data set with records ?
difference between vsam and database tables
What are the different dataset organizations used in vsam?
Differentiate between ci split and ca split?
What are the information stored in ci?
what are the idcams commands that can be used for vsam and explain each of them.
How does control intervals and control areas related to each other?