MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

File-Status 04

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Data Management
View previous topic :: View next topic  
Author Message
Viswakarma
Beginner


Joined: 23 Dec 2004
Posts: 1
Topics: 1

PostPosted: Thu Dec 23, 2004 9:13 am    Post subject: File-Status 04 Reply with quote

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.
Question
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12383
Topics: 75
Location: San Jose

PostPosted: Thu Dec 23, 2004 9:33 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Data Management All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group