Page 1 of 1

ABEND U4038 in cobol propgram

PostPosted: Thu Dec 20, 2007 10:10 am
by suhaniyaay
Hi Friends,
I am working in Cobol Conversion project.I have got one Abend s000 u4038 while working .

This is coding which results in abend
//CDOLCRO DD DSN=D09EC99.CCDS.N000681.CPLUCR.UNLOADED.B,
// DISP=(,CATLG,DELETE),
// UNIT=COBOL,SPACE=(CYL,(50,250),RLSE),
// DCB=(SYS3.DSCB,RECFM=VB,LRECL=229)

An error occurred when opening or closing a file.
An attempt to OPEN file CDOLCRO failed due to a file attribute
conflict. The file attributes described in the program file description

Anyone can u help me friends

Regards
Suhaniya.

Re: ABEND

PostPosted: Thu Dec 20, 2007 10:46 pm
by dick scherrer
Hello Suhaniya and welcome to the forums,

For us to help, you need to post the SELECT and the FD from the COBOL code.

Re: ABEND U4038 in cobol propgram

PostPosted: Fri Dec 21, 2007 4:57 pm
by suhaniyaay
Hi thank u for ur reply the problem is solved .The abend is because of the LRECL .It is specified wrongly in production program itself that is the problem.Thank u for ur reply

Re: ABEND U4038 in cobol propgram

PostPosted: Fri Dec 21, 2007 9:07 pm
by dick scherrer
You're welcome :)

Thank you for posting the resolution.

d

Re: ABEND U4038 in cobol propgram

PostPosted: Wed Feb 06, 2008 4:33 am
by kalamulasuresh
Hello,

Can you give me more help on LRECL.

Re: ABEND U4038 in cobol propgram

PostPosted: Wed Feb 06, 2008 5:24 am
by dick scherrer
Hello,

I'm sure someone can help. . . but not with what you've posted.

If you look back at the previous posts, you'll see that additional info was requested - you have not yet posted it.

If you are now getting an abend or some other diagnostic condition, you need to post the error message(s) as well as any diagnostic info presented by the problem execution.