Wednesday 28 January 2015

TOP VSAM Part7 Interview Questions and Answers

61. In the COBOL SELECT statement for a KSDS what are the three possibilities for ACCESS?
ACCESS can be SEQUENTIAL, RANDOM or DYNAMIC.

62. Do primary key values have to be unique? Do alternate key values have to be unique?
Primary key values must be unique; alternate key values need not be.

63. What is a VSAM split?
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.

64. What is the upgrade set?
The upgrade set is the list of all AIXes that VSAM must maintain for a specific base cluster, so that when data in the base cluster is updated, the AIX files are also updated.

65. What is an alternate index?
An AIX is a file that allows access to a VSAM dataset by a key other than the primary one.

66. What is a cluster?
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, ie. to all parts of the dataset simultaneously.

67. What is a sequence set?
This is the part of the index that points to the CA and CI of the record being accessed.

68. What are the distinctive features of a KSDA, key sequenced dataset?
The index and the distributed free space.

69. How are records stored in an ESDS, entry sequenced dataset?
they are stored without respect to the contents of the records and in the order in which they are included in the file.

70. What are the types of VSAM datasets?
Entry sequenced dataset (ESDS), key sequenced datasets (KSDS) and relative record dataset (RRDS).

No comments:

Post a Comment