IBM Support

PK96987: Calculation results incorrect when mathlib.decimal or mathlib. precision is used with another function like mathlib.round

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Rational Business Developer V7.1.0.4:
    
    Running EGL generated COBOL programs, the calculation results
    are incorrect when the mathlib.decimal or mathlib.precision
    functions are used in conjection with another function like
    mathlib.round and the argument passed in to the mathlib.decimal
    or mathlib.precision is an array element.
    

Local fix

Problem summary

  • The IR visit for an integer literal needed to be ignored for
    the mathlib decimal and precision functions, when the
    argument was an array element with a literal index. This
    affected the logic of other functions that used the decimal
    function, like mathlib round, resulting in incorrect values
    being returned.
    

Problem conclusion

  • Software updated. Fixtest available.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK96987

  • Reported component name

    RBD EGL FOR COB

  • Reported component ID

    5724S5001

  • Reported release

    710

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-09-23

  • Closed date

    2010-02-11

  • Last modified date

    2010-02-11

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    RBD EGL FOR COB

  • Fixed component ID

    5724S5001

Applicable component levels

  • R710 PSN

       UP

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSMQ79","label":"Rational Business Developer"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.1","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
11 February 2010