File status 44 in cobol



Support for OS/VS COBOL, VS COBOL II, COBOL for OS/390 & VM and Enterprise COBOL for z/OS

File status 44 in cobol

Postby ganesh.b » Fri Nov 27, 2009 5:58 am

I m receiving the file status 44 error while running a job.

The input and output are not vsam but the files are of "Variable" length.

Following is the exact error message i receive in my sysout.

A logic error occurred. Neither FILE STATUS nor a declarative was specified for
"program name" at relative location X'32FC'. The status code was 44.
From compile unit "program name" at entry point "program name" at compile unit offset +000032F at address 0000A86C.

Can you please give solution for this fix.
ganesh.b
 
Posts: 1
Joined: Fri Nov 27, 2009 5:48 am
Has thanked: 0 time
Been thanked: 0 time

Re: File status 44 in cobol

Postby dick scherrer » Fri Nov 27, 2009 7:54 am

Hello and welcome to the forum,

When you have a question, you need to post more than a status code. . .

What was being attempted? Open, read, write, re-write, etc? How is the file defined?

I suspect that you are trying to do a re-write on this variable file (which is what causes a 44) and the length of the record has been improperly/incorrectly changed.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: File status 44 in cobol

Postby jitender_2004bhiwani » Mon Nov 30, 2009 10:05 am

Hi,

File status 44 is a logical error in your program due to variable lenghts of files. The reason may be as below:

"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."
jitender_2004bhiwani
 
Posts: 10
Joined: Fri Nov 20, 2009 8:42 am
Has thanked: 0 time
Been thanked: 0 time


Return to IBM Cobol

 


  • Related topics
    Replies
    Views
    Last post