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

File status 44 during writting records into alt index file


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

New User


Joined: 11 Jul 2005
Posts: 8

PostPosted: Mon Jul 11, 2005 8:14 am
Reply with quote

From IBM manual
'A boundary violation exists because an attempt was made to rewrite a
record to a file and the record was not the same size as the record being
replaced, or an attempt was made to write or rewrite a record that was
larger than the largest or smaller than the smallest record allowed by the
RECORD IS VARYING clause of the associated file-name."

is it normal if the max number of duplicates of alt index key is reached?
icon_sad.gif
Back to top
View user's profile Send private message
parikshit123

Active User


Joined: 01 Jul 2005
Posts: 269
Location: India

PostPosted: Mon Jul 18, 2005 5:53 pm
Reply with quote

Hi,


File status 44 for VSAM dataset is basically due to

A BOUNADRY VIOLATION DUE TO ATTEMPT TO WRITE A RECORD OF IMPROPER LENGTH

Further,

A boundary violation exists because an attempt was made to rewrite a record to a file and the record was not the same size as the record being replaced, or an attempt was made to write or rewrite a record that was larger than the largest or smaller than the smallest record allowed by the RECORD IS VARYING clause of the associated file-name.


It has nothing to do with 'MAXIMUM NUMBER OF DUPLICATE ALT KEYS'

Please check your REWRITE statement and prior READ statements

Thank you,
Parikshit.
Back to top
View user's profile Send private message
Samvel

New User


Joined: 19 Jul 2005
Posts: 1

PostPosted: Tue Jul 19, 2005 1:09 am
Reply with quote

Hi,
Are you dealing with variable length record? -If yes, have you correctly defined the LRECL compared with the longest record length?
Back to top
View user's profile Send private message
mainframekk

New User


Joined: 11 Jul 2005
Posts: 8

PostPosted: Thu Jul 21, 2005 7:28 am
Reply with quote

My case is..
The base file is a KSDS in variable length (keylength=31)
For the alt index file, the alt keylength is 17 and record length of alt index file is defined as 22,32572 using formula (5 + alt keylength + base keylength x number of duplicates)

where
32572 = 5 + 17 + 31n
n = 1050

When writting the 1051 duplicated record into alt index file, it returns 44.
Back to top
View user's profile Send private message
Prasanthhere

Active User


Joined: 03 Aug 2005
Posts: 306

PostPosted: Mon Aug 08, 2005 4:57 pm
Reply with quote

hi

Tried to REWRITE a record of a different length.Check the record length
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 Extract the file name from another fi... DFSORT/ICETOOL 6
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
Search our Forums:

Back to Top