IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Diff b/w Sequential file and ESDS file


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
bhgh
Warnings : 1

New User


Joined: 18 Mar 2006
Posts: 21
Location: Hyderabad

PostPosted: Thu May 18, 2006 1:35 pm
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
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
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
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts Access to non cataloged VSAM file JCL & VSAM 18
No new posts Need help for File Aid JCL to extract... Compuware & Other Tools 23
Search our Forums:

Back to Top