Thursday, September 18, 2008

Vsam Questions

  1. Why do VSAM take more disk space than other utilities?
  2. What are the distinctive features of a KSDS, Key sequenced DataSet?
  3. What is a CI, Control Interval?
  4. What is Control Interval Split?
  5. What is a CA, control area?
  6. What is a cluster?

1 comment:

Anonymous said...

Answer

1 - VSAM increases the disk space requirements of systems. This is because VSAM offers certain
capabilities like partial self-reorganization to make things more efficient in data sets that can be
modified.

2 - The index and the distributed free space. CI and CA splits upon updates. Record length may
be changed during update. The records are accessed by a particular Key.

3 - A Control Interval is the unit of information that VSAM transfers between virtual and auxiliary
storage.

4 - A new record stored in same CI, only if there is enough space. If not VSAM locates the free CI
within the same CA, moves approximately half of the records to next CI and stores the new
record at the correct position. This is called Control Interval Split. Whenever CI split occurs the
sequence set is updated.

5 - A group of Control Intervals makes up a control area.

6 - A cluster is the combination of the index, sequence set and data portions of the DataSet. The
operating system gives program access to the cluster, i.e. to all parts of the DataSet
simultaneously.