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 Job failing with USER = 4093 REASON C... Pradeepa S ABENDS & Debugging 1 Wed May 17, 2017 3:35 pm
No new posts COBOL Code Parsers and Lineage Establ... balimanja COBOL Programming 2 Tue May 02, 2017 3:30 am
No new posts Cobol upgrade - source code missing f... gthmrj IBM Tools 1 Wed Apr 26, 2017 6:04 pm
No new posts VSAM Space Allocation mrgnndhmk JCL & VSAM 7 Sat Apr 22, 2017 12:42 am
No new posts QUESTION: RETURN CHANNEL pahiker CA Products 21 Thu Apr 20, 2017 12:31 am


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