what are the different types of vsam files available? Explain them
Answer Posted / 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 View All Answers
What is a lds (linear data set) and what is it used for?
Tell about the ams used in vsam?
explain in brief what are the 3 types of vsam files?
What are the different versions of gdg named?
name the utility program closely associated with vsam?
Discuss record management in vsam?
What is a ci split? What is a ca split?
What is a base cluste?
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...
Explain the index set?
in a cobol select statement for a ksds can you tell me what are the 3 possibilities for access?
Why is it required to have a keyed directed retrieval?
explain in brief how are different versions of gdg named?
How do you calculate record size of an alternate cluster?
How to get the last record in vsam file in cluster?