Index variable incompatibilities with older compilers
Closed this issue · 3 comments
neopragma commented
Index variable incompatibilities with older compilers
neopragma commented
Changed indices to USAGE INDEX. Needs to be tested on a zOS system to confirm the fix.
neopragma commented
Problems using USAGE INDEX items in computations. Need to handle this in a different way for zOS compatibility.
neopragma commented
Fixed by computing the desired index value inside the parentheses where the index is referenced, e.g. FIELDNAME(INDEXNAME - 1).