Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Diff b/w Sequential file and ESDS file

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
bhgh
Warnings : 1

New User


Joined: 18 Mar 2006
Posts: 21
Location: delhi

PostPosted: Thu May 18, 2006 1:35 pm    Post subject: Diff b/w Sequential file and ESDS file
Reply with quote

Hi,
Can u give me answer for my question.

difference between sequential file and ESDS file.




thanks in advance

Rgds
kala
Back to top
View user's profile Send private message

sachina2z

New User


Joined: 03 May 2006
Posts: 8
Location: Pune, India

PostPosted: Thu May 18, 2006 2:29 pm    Post subject:
Reply with quote

sequential file is a normal dataset.
ESDS is a VSAM dataset, contains 2/3 supporting files for storing ur data.
Back to top
View user's profile Send private message
abhishekraghav

New User


Joined: 31 Mar 2006
Posts: 9
Location: Pune

PostPosted: Thu May 25, 2006 1:13 pm    Post subject:
Reply with quote

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
View user's profile Send private message
philipraju
Warnings : 1

New User


Joined: 16 Apr 2006
Posts: 29

PostPosted: Thu May 25, 2006 1:45 pm    Post subject: In addition
Reply with quote

Sequential file (Qsam) can be created on tape while vasm files didn't on tape
Back to top
View user's profile Send private message
gskulkarni

New User


Joined: 01 Mar 2006
Posts: 70

PostPosted: Thu May 25, 2006 1:48 pm    Post subject:
Reply with quote

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 icon_smile.gif

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
View user's profile Send private message
sundaresanjs

New User


Joined: 29 May 2006
Posts: 18
Location: USA

PostPosted: Sat Jun 17, 2006 1:49 pm    Post subject:
Reply with quote

hi abhishekraghav,

ESDS file cannot have Alternate index,
alternate index is an extreme property of KSDS file only.


regards,
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am
No new posts Garbage on output file Hervey Martinez SYNCSORT 4 Wed Sep 27, 2017 12:50 am
No new posts File Aid tool to compare numeric data balaji81_k Compuware & Other Tools 2 Tue Sep 26, 2017 3:35 am
No new posts Compare yesterday's date to the one o... migusd SYNCSORT 11 Fri Sep 22, 2017 11:35 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us