Re: COBOL 6 and On Size Error at ARCH(12)

2024-02-29 Thread Attila Fogarasi
A couple of ideas ... if you can use ARCH(13) and Cobol v6.3 then it may handle the overflow bits differently. As for doc on what ON SIZE ERROR should do, it does specify " If the ON SIZE ERROR phrase is specified and a size error condition occurs, the value of the resultant identifier affected

COBOL 6 and On Size Error at ARCH(12)

2024-02-22 Thread Schmitt, Michael
I'm in discussion with IBM on a issue with the COBOL 6 compiler at ARCH level 12. I think it is generating incorrect code, Development says "but generating correct code would make it less faster!". I want to see what you think. The issue is related to overflows, such as a packed-decimal