Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
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. |
|