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

Can we copy a sequential file to a VSAM file ? If yes, What will happen of the size of the sequential file is bigger than that of the VSAM file?

3 Answers   CTS, Verizon,


what do you mean by idcams? Explain its purpose?

0 Answers   IBM,


in a cobol select statement for a ksds can you tell me what are the 3 possibilities for access?

0 Answers   IBM,


What are the distinctive features of a ksda, key sequenced dataset?

0 Answers  


How Vsam was evolved? What was the equivalent file for ESDS,KSDS and RRDS prior to evolution? What were their disadvantages of those file which leads to evolution of ESDS,KSDS and RRDS files ?

1 Answers  






Explain the device independent method to indicate where a record is stored?

0 Answers  


what is the difference b/w sequential and ESDS

6 Answers   EDS, IBM, Maples,


What is recovery parameters in define cluster command?

0 Answers  


What does the keyranges parameter in define cluster commends do?

0 Answers  


What is the purpose of relative record data set used in vsam?

0 Answers  


Explain the meaning and syntax for the START command. ?

4 Answers   IBM,


Explain the function of the relative record data set?

0 Answers  


Categories