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 

VSAM Code 44

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


Joined: 02 Sep 2003
Posts: 101
Topics: 55
Location: India

PostPosted: Fri Sep 10, 2004 7:55 am    Post subject: VSAM Code 44 Reply with quote

Hi What could be the possible reason for a VSAM Status 44. It says A BOUNADRY VIOLATION DUE TO ATTEMPT TO WRITE A RECORD OF IMPROPER LENGTH

Thanks
_________________
Cheers!
Back to top
View user's profile Send private message
Manas Biswal
Intermediate


Joined: 29 Nov 2002
Posts: 382
Topics: 27
Location: Chennai, India

PostPosted: Fri Sep 10, 2004 9:36 am    Post subject: Reply with quote

I think you are trying to REWRITE a record with a different length than the original record length.
Please post details - Online or batch and code snippets.

Regards,
Manas
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
abracadabra
Beginner


Joined: 02 Sep 2003
Posts: 101
Topics: 55
Location: India

PostPosted: Fri Sep 10, 2004 9:40 am    Post subject: Reply with quote

Its a fixed lenght file, so no question of variable record lengths. Its in batch
_________________
Cheers!
Back to top
View user's profile Send private message
abracadabra
Beginner


Joined: 02 Sep 2003
Posts: 101
Topics: 55
Location: India

PostPosted: Fri Sep 10, 2004 12:26 pm    Post subject: Reply with quote

Has anybody ever faced a VSAM status 44 before? Basically I am running it in batch and trying to write into the file. Even the key is different for the record that I am writing. All records are being written from a copybook into the output file. This record which is having an error is the last of a similar set of records. Then more records are written. When processed separately, the record is getting processed. Any help is welcome
_________________
Cheers!
Back to top
View user's profile Send private message
abracadabra
Beginner


Joined: 02 Sep 2003
Posts: 101
Topics: 55
Location: India

PostPosted: Fri Sep 10, 2004 12:37 pm    Post subject: Reply with quote

Just to add, the VSAM KSDS has an alternate index defined with duplicates
_________________
Cheers!
Back to top
View user's profile Send private message
MikeBaker
Beginner


Joined: 04 May 2004
Posts: 96
Topics: 9

PostPosted: Fri Sep 10, 2004 8:34 pm    Post subject: Reply with quote

VSAM returns two difference status codes. If you want to debug this, then you can have a look at the second RC being returned. Have a look at the "Programming Guide" for COBOL. It says... (see below) and shows how to code it etc.

FILE STATUS IS data-name-1 data-name-8
The variable data-name-1 specifies the two-character COBOL file status key. The
variable data-name-8 specifies a 6-byte data item that contains the VSAM return
code when the COBOL file status key is not 0.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


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

PostPosted: Sun Sep 12, 2004 7:49 pm    Post subject: Reply with quote

abracadabra,

Vsam file status code of 44 is similar to status code 24 , which may occur when you run out of extents. May be your vsam file reached the 4GB limit. Check this link which discusses the same issue.

http://www.mvsforums.com/helpboards/viewtopic.php?t=2073&highlight=4gb

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