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

to use the rewrite command, how should the vsam file be opened?

0 Answers   IBM,


what is the concept of IMPORT in vsam??

2 Answers  


Syntax of AMS modal commands ?

1 Answers   IBM,


How do I declare the KSDS vsam so that I can store a reocrd with variable length?.

2 Answers  


What is the meaning of dynamic processing?

2 Answers  






explain how do you define a gdg in vsam?

0 Answers   IBM,


write a program to read from a VSAM file , there will be a 5 records to create name. empno. resignation and address to update in a db2 table and call another program using dynamic call to find the matching fields in program 1 to update in db2 table. anybody pls send de program for dis ? thanks in advance...

0 Answers   CTS,


what do you mean by a shareoptions parameter (shr) in define cluster command?

0 Answers   IBM,


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  


How do you define an ALTINDX ? How do you use ALTINDXs in batch, CICS pgm?s ?

2 Answers   IBM,


What does the keyranges parameter in define cluster commends do?

0 Answers  


What is the Difference between LDS & ESDS ?

3 Answers  


Categories