Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

File status 44 during writting records into alt index file

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: File status 44 during writting records into alt index file
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    Post subject:
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    Post subject: File status 44
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    Post subject:
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    Post subject: Re: File status 44 during writting records into alt index fi
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    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. Fetching data from BAI File arunsoods JCL & VSAM 1 Wed Jul 19, 2017 4:28 pm
No new posts Write out NODUPS but just from one file Jay Villaverde DFSORT/ICETOOL 8 Fri Jul 14, 2017 12:44 am
No new posts How to add header with Date(YYMMDD) i... Rajan Moorthy DFSORT/ICETOOL 2 Thu Jul 06, 2017 11:44 pm
No new posts How to generate a new unique Input fi... for1ranjith CLIST & REXX 11 Sat Jul 01, 2017 12:09 pm
No new posts Writing a file using online program grvtomar PL/I & Assembler 3 Fri Jun 30, 2017 1:06 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us