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

KSDS File Status - 92


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Tue Feb 28, 2012 4:53 am
Reply with quote

Have a look in the Language Reference about specifying the extended file status for VSAM files. The third field in the group that you define will give you the Reason Code returned from VSAM. If you do this and display the value, you will get a decimal 44.

DFSMS Macro Instructions for Data Sets, Reason Codes (RPLERRCD) wrote:
44(X'2C') Work area not large enough for the data record or for the buffer (GET with OPTCD=MVE).


If you haven't defined enough bytes to hold the record, I guess it is a "logic error" :-)

Why doesn't it fail on the OPEN? I guess down to the difference between VSAM file-handling and non-VSAM file-handling.

I haven't looked, but there may be a better answer in DFSMS Macro Instructions for Data Sets.
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