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

Explain the significance of the shareoptions parameter?

0 Answers  


Is CA(Control Area) is part of CI(Control Interval)

1 Answers  


what is the RRN for the first record in RRDS?

2 Answers  


How does control intervals and control areas related to each other?

0 Answers  


What is an alternate index and path ?

2 Answers   Infosys, TCS,






What are the types of VSAM datasets?

3 Answers   IBM,


What is the difference between lds and esds?

0 Answers  


in what type of vsam datasets can an alternate index be defined??

4 Answers  


How to insert values for variables that are declared as COMP-3 variables in COBOL program in an already created VSAM file.

3 Answers  


Describe the uses of ams?

0 Answers  


What does the keyranges parameter in define cluster commends do?

0 Answers  


what is the use of aix in vsam why do we go for aix and wht is build index in vsam?

5 Answers   HCL, IBM,


Categories