what are the different types of vsam files available? Explain them



what are the different types of vsam files available? Explain them..

Answer / chandru3

1. Entry sequential data set(ESDS) works like sequential file which contains only cluster and data components.
We must mention NONINDEXED while defining ESDS cluster.
It supports only sequential access in batch program.

2. Key sequential data set(KSDS) has three components(CLUSTER, DATA and INDEX).
We must code INDEXED while defining the KSDS cluster.
Data component consists of sorted records which are based on key values.
Index component consists of key values and the pointer to the data records.

3. Relative Record Data Set(RRDS) records are identified using Relative Record Number (RRN). Records are stored in numbered.

4. The linear dataset(LDS) is a byte-stream dataset which is commonly used in DB2 system. This dataset is rarely used in application programs.
Mainframe important concepts and programs are explained in the IIWOWIIS channel in youtube. Please support us and share your comments.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More VSAM Interview Questions

By looking into JCL can we identify the dataset is VSAM (VSAM dataset supposed to be a input dataset).In this scenerio how will we identify the dataset is VSAM ?

5 Answers   Cognizant, EDS, Shridhar,


What is the biggest disadvantage of using a vsam dataset?

0 Answers  


Is it slower if you access a record through ALT INDEX as compared to Primary INDEX? Why?

1 Answers  


What is the difference between CI( Control Interval)and CA (Control Area)?

3 Answers   Infosys, TCS,


what are the different types of vsam files available? Explain them

1 Answers   IBM,






What is SHAREOPTS ?

2 Answers  


What is a sequence set?

1 Answers  


Explain the function of entry-sequenced data set?

0 Answers  


What is a CI, control interval?

3 Answers  


What is the use of VSAM files? How to read this ?

3 Answers   CTS,


we can define the ksds cluster by two ways by using the file-aid or by using the idcams utility. Explain them.

0 Answers   IBM,


How is record management performed in vsam?

0 Answers  


Categories