> -----Original Message-----
> From: IBM Mainframe Discussion List On Behalf Of Steve Comstock
> 
> Farley, Peter x23353 wrote:
> > I did not see anything about it in the updates page in the language
> > reference nor the programmer's guide, but I'm wondering if anyone
here
> > knows if the newest release of the Enterprise COBOL compiler will
> > generate "grande" arithmetic instructions for COBOL binary fields
(e.g.
> > will it generate an AG or AGR instruction for adding two PIC S9(18)
> > BINARY fields?).
> 
> 1. Latest and greatest is actually Enterprise COBOL 4.2
> 
> 2. Ran an experiment for you; here is the generated code
>     for  'add fld-d to fld-e' where both are pic s9(18) binary:

Did you try it with PIC S9(18) COMP-5?

    -jc-

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to