View previous topic :: View next topic
|
Author |
Message |
vsrao_2k
New User
Joined: 12 Dec 2005 Posts: 13
|
|
|
|
Hi all,
I am a slient member of this group for the last few months.
I have few quries regarding VSAM
1. What is the difference between ESDS and Seq file when we are accessing a records in sequential?
2. What is VSAM return code 29, 21, 10?
Thanks,
Sree. |
|
Back to top |
|
|
khamarutheen
Active Member
Joined: 23 Aug 2005 Posts: 677 Location: NJ
|
|
|
|
Hi Sree,
Quote: |
1. What is the difference between ESDS and Seq file when we are accessing a records in sequential?
|
ESDS is a sequential file reading only
Quote: |
2. What is VSAM return code 29, 21, 10? |
21 - A sequence error exists for a sequentially accessed indexed file. The prime record key value has been changed by the program between the successful execution of a READ statement and the execution of the next REWRITE statement for that file, or the ascending requirements for successive record key values were violated.
10 - A sequential READ statement was attempted and no next logical record existed in the file because the end of the file had been reached, or the first READ was attempted on an optional input file that was not present. |
|
Back to top |
|
|
Pradeepshan
New User
Joined: 20 Jan 2006 Posts: 6 Location: bangalore
|
|
|
|
What is the difference between ESDS and Seq file when we are accessing a records in sequential?
The ESDS is similar to Sequencial file. When it come to record accessing, the records are fetched in the same way as the Seq datasets but ESDS has more flexiblity than Seq datasets.
In ESDS the records are fetched witha Relative Byte Address (RBA).
With RBA random access of records is possible.
Records can be updated/overwritten in ESDS , these records need not be of the same length. |
|
Back to top |
|
|
priyesh.agrawal
Senior Member
Joined: 28 Mar 2005 Posts: 1448 Location: Chicago, IL
|
|
|
|
You would like to add this link in to your favourites for future reference on VSAM File Status Codes.
Thanks SuperK.
Regards,
Priyesh. |
|
Back to top |
|
|
|