View previous topic :: View next topic
|
Author |
Message |
bhgh Warnings : 1 New User
Joined: 18 Mar 2006 Posts: 21 Location: Hyderabad
|
|
|
|
Hi,
Can u give me answer for my question.
difference between sequential file and ESDS file.
thanks in advance
Rgds
kala |
|
Back to top |
|
|
sachina2z
New User
Joined: 03 May 2006 Posts: 8 Location: Pune, India
|
|
|
|
sequential file is a normal dataset.
ESDS is a VSAM dataset, contains 2/3 supporting files for storing ur data. |
|
Back to top |
|
|
abhishekraghav
New User
Joined: 31 Mar 2006 Posts: 9 Location: Pune
|
|
|
|
In addition to to Sachina2Z...
ESDS has control information....while sequential file does not.
ESDS can have alternative index and can be accessed through it. |
|
Back to top |
|
|
philipraju Warnings : 1 New User
Joined: 16 Apr 2006 Posts: 29
|
|
|
|
Sequential file (Qsam) can be created on tape while vasm files didn't on tape |
|
Back to top |
|
|
gskulkarni
New User
Joined: 01 Mar 2006 Posts: 70
|
|
|
|
sachina2z wrote: |
sequential file is a normal dataset.
|
I believe all datasets are more or less 'normal' dataset only. Sometimes I have observed people who are not so 'normal' who access those datasets
ESDS and Sequential non-vsam dataset.
I assume you are pretty clar about what a sequential dataset is.
1. ESDS is a type of VSAM dataset which essentially operates similar to sequential dataset.
2. Any record written to ESDS is written at teh end of the file, much same as seq. dataset.
3. Direct access to any record is possible using Relative Byte address of the record. Sequential files do not have this feature.
4. Allocation of ESDS is similar to that of KSDS i.e. using IDCAMS utility using define cluster commands. Seq files can be allocated using DISP=NEW,CATLG,DELETE and space parameters.
5. A record in ESDS can be rewritten using direct access method. Whereas, in seq. datasets it is not possible.
6. Deletion of ESDS is done with IDCAMS DELETE . But seq. files can be deleted even using IEFBR14 utility with DISP=(NOD,DELETE,DELETE).
some of the above differences are purely from programmer's point of view. There are many diff as such because storage type is VSAM for ESDS whereas sequential datasets are non-vsam. I have tried to explain as much as possible. |
|
Back to top |
|
|
sundaresanjs
New User
Joined: 29 May 2006 Posts: 18 Location: USA
|
|
|
|
hi abhishekraghav,
ESDS file cannot have Alternate index,
alternate index is an extreme property of KSDS file only.
regards, |
|
Back to top |
|
|
|