Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

What is VSAM return code 29, 21, 10

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
View previous topic :: :: View next topic  
Author Message
vsrao_2k

New User


Joined: 12 Dec 2005
Posts: 13

PostPosted: Fri Jan 06, 2006 6:29 pm    Post subject: What is VSAM return code 29, 21, 10
Reply with quote

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

khamarutheen

Active Member


Joined: 23 Aug 2005
Posts: 680
Location: NJ

PostPosted: Fri Jan 06, 2006 6:38 pm    Post subject: VSAM
Reply with quote

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

New User


Joined: 20 Jan 2006
Posts: 6
Location: bangalore

PostPosted: Thu Feb 09, 2006 7:48 am    Post subject:
Reply with quote

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

Senior Member


Joined: 28 Mar 2005
Posts: 1452
Location: Chicago, IL

PostPosted: Thu Feb 09, 2006 11:30 am    Post subject: Re: What is VSAM return code 29, 21, 10
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to Capture the Max return code of... anilkumar922 All Other Mainframe Topics 0 Thu Jan 12, 2017 12:02 pm
No new posts how to recover an uncataloged VSAM da... archanamuthukrishnan All Other Mainframe Topics 3 Wed Jan 11, 2017 6:18 pm
No new posts Underlying DB2 VSAM LDS - SMF recording vasanthz All Other Mainframe Topics 6 Thu Jan 05, 2017 4:20 am
This topic is locked: you cannot edit posts or make replies. Calling REXX code from ISPF panel sanchita dey TSO/ISPF 4 Mon Jan 02, 2017 5:13 pm
No new posts PL/I code tuning/Performance improvement Virendra Shambharkar PL/I & Assembler 4 Mon Dec 05, 2016 11:57 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us