In some cases, the maximum size of a record may exceed 2,147,483,647 the
largest java integer.
This can be easily simulated with this cobol structure:
01 DFHCOMMAREA.
05 FIXED-ARRAY OCCURS 16777215 TIMES.
10 FILLER PC X(300).
The coxbgen generated code uses an integer for the BYTE-LENGTH which results in
an incorrect value (long value modulo 2^32).
The workaround is to reduce the number of OCCURS.
Original issue reported on code.google.com by fady.mou...@gmail.com on 13 Feb 2015 at 10:35
Original issue reported on code.google.com by
fady.mou...@gmail.com
on 13 Feb 2015 at 10:35