View previous topic :: View next topic |
Author |
Message |
Viswakarma Beginner
Joined: 23 Dec 2004 Posts: 1 Topics: 1
|
Posted: Thu Dec 23, 2004 9:13 am Post subject: File-Status 04 |
|
|
I have a KSDS cluster defined with average record length 350 and maximim record length 11950.
Cobol program File declaration is having 3 layouts with record lengths 200,11950 and 1200.
When I tried reading the cluster I am getting abend due to File-status 04. I found the offending record's length is 100.
Can someone tell what exactly causing the abend.
 |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12383 Topics: 75 Location: San Jose
|
Posted: Thu Dec 23, 2004 9:33 am Post subject: |
|
|
Viswakarma,
A file-status code of 04 is caused when a READ statement was successfully executed, but the length of the record being processed did not conform to the fixed file attributes for that file.
The explanation for File-status codes can be found by clicking VSAM Error Codes under Messages and Error Codes from the main page of mvsforums.
www.mvsforums.com
Hope this helps...
Cheers
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
 |
|
|