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 |
can we create PS file using IDCAMS utility?
Suppose a generation of GDG gets created in a particular step of a proc. How would you refer the current generation in a subsequent step? What would be the disposition of this generation now?
What is the purpose of idcams?
What is the use of KSDS,LDS,ESDS,RRDS??what is VRRDS?? How are all these useful in realtime scenario??Plz helpme out...Its a recent question in IGATE..
Explain about the file objects in vsam?
How to get the last record in vsam file in cluster? And how can u get the ksds file records into cobol program?
How do I declare the KSDS vsam so that I can store a reocrd with variable length?.
what do you mean by recovery and speed parameters in define cluster command?
What is control interval?
Do primary key values have to be unique? Do alternate key values have to be unique?
what does a file status of 02 on a vsam signifies?
What is the use Free space in CI ?