IBM Support

PI73305: ARITHMETICEXCEPTION THROWN IN EXTERNALDECIMALMARSHALLER. MARSHALLEXTERNALDECIMALINTOBUFFER

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as fixed if next.

Error description

  • If user stores a BigDecimal value with more digits than the
    Cobol picture field allows, the setScale method throws an
    exception. Solution is to call the rounding variant of setScale.
    
    SEVERE: GBRZP6002E A RawDataRuleExecutionException occurred
    during rule execution java.lang.ArithmeticException: Requires
    rounding: 2
    ilog.rules.res.session.rawdata.RawDataRuleExecutionException:
    java.lang.ArithmeticException: Requires rounding: 2
        at ilog.rules.res.session.rawdata.internal.runtime.
    RawDataRuleServiceImpl.execute(RawDataRuleServiceImpl.java:108)
        at com.ibm.rules.hbr.runtime.RulesExecutionManager.execute(
    RulesExecutionManager.java:190)
    Caused by: java.lang.ArithmeticException: Requires rounding: 2
        at java.math.BigDecimal.setScale(BigDecimal.java:5101)
        at java.math.BigDecimal.setScale(BigDecimal.java:5013)
        at ilog.rules.res.session.rawdata.internal.marshal.
    ExternalDecimalMarshaller.marshallExternalDecimalIntoBuffer(
    ExternalDecimalMarshaller.java:308)
        at main.java.fr.axa.iard.tfa.model.marshaller.
    GarantieWriter.write(GarantieWriter.java:47)
        at main.java.fr.axa.iard.tfa.model.marshaller.ContratWriter.
    
    write(ContratWriter.java:144)
        at main.java.fr.axa.iard.tfa.model.marshaller.
    RawDataRootImpl.write(RawDataRootImpl.java:63)
        at ilog.rules.res.session.rawdata.internal.runtime.V3Pipe.
    javaToRaw(V3Pipe.java:89)
        at ilog.rules.res.session.rawdata.internal.runtime.
    RawDataRuleServiceImpl.execute(RawDataRuleServiceImpl.java:84)
        ... 1 more
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users that store a BigDecimal number with    *
    *                 more digits than the Cobol PIC field allows  *
    ****************************************************************
    * PROBLEM DESCRIPTION: If a user's rule logic creates a        *
    *                      BigDecimal object containing more       *
    *                      digits than the Cobol picture field     *
    *                      allows an ArithmeticException may be    *
    *                      result.                                 *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    NONE
    

Problem conclusion

Temporary fix

Comments

  • Fixed in 8.8.1.2 and 8.9.0.1
    

APAR Information

  • APAR number

    PI73305

  • Reported component name

    WS ODM FOR Z/OS

  • Reported component ID

    5655Y1700

  • Reported release

    713

  • Status

    CLOSED FIN

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-12-06

  • Closed date

    2017-05-10

  • Last modified date

    2017-05-10

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

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

Fix information

Applicable component levels

  • R713 PSN

       UP

[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG19M","label":"APARs - z\/OS environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"713","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
10 May 2017