what are the different types of vsam files available? Explain them
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 |
What are the access method services used in vsam?
what is difference between repro and export? if any one know this plz tell me
Using Alternate Indexes in CICS pgms: ?
what are the additional information you should give in the dd statement while defining the next generation of a gdg?
How do you define an ALTINDX ? How do you use ALTINDXs in batch, CICS pgm?s ?
What is a CI, control interval?
what is meant by s0c-07 system abend codes?
What are the different versions of gdg named?
Is it slower if you access a record through ALT INDEX as compared to Primary INDEX? Why?
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 ?
what is the use of the file status clause in the select statement in vsam?
How do you initialize a VSAM file before any operation? a VSAM with alternate index?