The below is a consolidated list of VSAM interview questions for your quick refresh. Warm-up is the first step before going for exercise. This list contains powerful questions and answers.
Q.1) How many ways VSAM will identify records?
A1) Three ways. Key, RBA, RRN
Q.2) What is the size of the primary key?
A3) Min 1 byte to Max 255 bytes
Q.3) What is RBA?
A3)Starts from 0 to first record LERCL. The second record starts from the length of the first record.
Q.4) What is RRN?
A4) a Relative number of logical records. If RRN=3 means this is a fourth logical record
Q.5)Spanned records?
A5) These are logical records larger than CI size.
Q.6) What is a cluster?
A6) Cluster is the combination of Data and Index component
Q.7) What is Sphere?
A7) Sphere is the base VSAMÂ cluster and its associated VSAM clusters.
Q.8) What is HURBA, HARBA?
A8) When the VSAMÂ file is compressed, we can not access data from RBA. That time we use these values.
Read some more interview questions online here.