Thursday 5 February 2015

50 TOP VSAM Interview Questions and Answers pdf

Below are some important VSAM interview questions which are asked in most MNC company interviews for beginners or professionals.

1. 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?
No, they would not be left empty. one record will be written in each CI and 1 CI will be written for each CA.

2. What is a Base Cluste?
The Index and data components of a KSDS

3. What is the RRN for the first record in RRDS?
The answer is : 1

4. How many times secondary space allocated?
122 TIMES

5. What is the device independent method to indicate where a Record is Stored?
By USING RBA (Relative Byte Address).

6. What is the biggest disadvantage of using a VSAM dataset?
FREE SPACE ( FPSC )

7. How many buffers are allotted to VSAM KSDS and ESDS?
2 data buffers by default for ESDS. For KSDS it allots 2 data buffers and 1 index buffers. each buffer is about 4K.

8. What is an alternate index and path?
An alternate index is an another way of accessing key sequenced data record stored in a base cluster and path is the linkage which connect alternate index to its base cluster.

9. Is a delete operation possible in an ESDS? B, is rewrite operation possible in ESDS?
No delete operation is not possible in VSAM ESDS.B. yes rewrite operation is possible in an ESDS.

10. What is the difference between LDS and ESDS?
There two datasets are VSAM datasets. ESDS maintains control information. But LDS does not maintains the control information.

No comments:

Post a Comment