On Thu, 2012-04-12 at 12:45 -0400, McKown, John wrote: > I am constantly amazed at the amount of code generate by a simpe: > > ADD +1 TO WS-INTEGER. > > when WS-INTEGER is defined as PIC S9(9) BINARY
Try defining it as COMP-5 (or compile with TRUNC(BIN)) and see if that improves the generated code? -- David Andrews A. Duda & Sons, Inc. david.andr...@duda.com ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN