Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Optimizer error U4038 on report files

Status
Not open for further replies.

mry2k

IS-IT--Management
Mar 22, 2001
1
US
When system was upgraded to OS/390V2R10 (from V2R7) some programs began abending with U4038 on report files. If programs are recompiled with NOADV option the error goes away, or if a BLKSIZE=134 is added to the JCL for the report files the error goes away. Recompiling several hundred programs is not a happy thought, but adding the BLKSIZE is wrong, these files are really 133 bytes long. Anyone shed any insight on this and any solution? Thanks...
 
Hi Y,

Looking at the manual, it says that a byte is added to the record by the compiler when the ADV option is selected. ADV is the default. That explains why your fixes worked. By the way, this is a COBOLII manual, so I can't explain why it just showed up in your latest compiler conversion.

You could use Fileaid, if you have it, to change the blksize in all the applicable procs/JCL. Or you could write an ISPF macro to do it.

Hope this helps, Jack.
 
Y,

A U(4038) in your environment means something else has gone wrong and LE/390 gives this standard abend code. For example, i got it trying to access a table element outside the table ... Try to search onwards for more information about what really went wrong; maybe you don't have to recompile all your programs ! Check the job output and SYSOUT for messages, or if you have AbendAid, try this.

Good luck !
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top