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

What is File Status in VSAM?

1 Answers   IBM,


why ci and ca splits are not possible in esds and rrds?

1 Answers   IBM,


What is a lds (linear data set) and what is it used for?

1 Answers  


what is the difference between vsam and dataset how do u create vsam dataset which file you r used?

2 Answers   Fidelity,


What is the use Free space in CI ?

4 Answers  


Do primary key values have to be unique? Do alternate key values have to be unique?

1 Answers  


how can you copy to a vsam cluster?

1 Answers   IBM,


Under idcams, multiple functions can be executed, each of which returns a condition code. What will be the condition code returned to the operating system?

1 Answers  


How to createing new version of GDG with out loosing the data in preaves GDG version?

7 Answers   Patni, Satyam,


What is the main function of key sequenced data set in vsam?

1 Answers  


What is the use of access method services in vsam?

1 Answers  


What is the difference between PS file and VSAM file?

7 Answers   IBM, Infosys, Verizon,


Categories