On 13/04/2012 12:45 AM, McKown, John wrote:
Now that you mention it, I remember that the C/C++ compiler has a architecture 
option to control the instructions generated. I should have known that the PL/X 
compiler would too. I didn't know that they both share the same back-end. I 
wish that the COBOL compiler did. I am constantly amazed at the amount of code 
generate by a simpe:

Also at Share I heard that COBOL will indeed share the same back-end and have all the nice optimizations in future releases of z/OS. They said that they are going to share the Java optimizer technology, which apparently is best-of-breed.


  ADD +1 TO WS-INTEGER.

when WS-INTEGER is defined as PIC S9(9) BINARY or NATIVE. COBOL seems to have 
an inordinate love for PACKED-DECIMAL. Someone once said it was due to ANSI 
standards compliance. Might be worth it, in CPU saved, to license the C 
compiler and port the OpenCOBOL

Unless I somehow have the wrong compile parameters.


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to