IBM Support

PK75226: RATIONAL BUSINESS DEVELOPER V7.1.0: RESULT INCORRECT WHEN A STA TEMENT DOES MULTIPLE CALCULATIONS

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Rational Business Developer V7.1.0.1:
    
    The result with generated COBOL programs are incorrect when a
    statement does multiple calculations.  For example, the result
    of the following EGL statement in the EGL debugger is 85 which
    is correct, while the result with the generated COBOL is 33.
    
        wy4fn97.chk_Dgt = (wy4fn97.acc_Nr * 100) % 97;
    

Local fix

  • The workaroud is to define and use a temporary EGL variable that
    is large enough to hold the intermediate results.
    

Problem summary

  • Incorrect results were due to the intermediate types for
    binary experssions not being computed well enough
    

Problem conclusion

  • A new algorithm has been implemented that mirrors one used
    by Cobol compiler.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK75226

  • 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

    2008-11-07

  • Closed date

    2009-03-20

  • Last modified date

    2009-03-20

  • 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:
20 March 2009