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 |
How can you create a VSAM dataset? Can you write a JCL for it?
what do you mean by define model parameter?
is there any lock for vsam file so that no one can update the vsam file ?
How do you calculate record size of an alternate cluster?
What is the VSAM-code field?
What is the purpose of having vsam data space?
difference between vsam and database tables
explain in brief how you can create a vsam file?
explain how can you initialize a vsam file before any operation?
Define base cluster?
what is the use of aix in vsam why do we go for aix and wht is build index in vsam?
looking at the basic definition of VSAM file how to recognize whether it is a KSDS OR RRDS OR ESDS ?