IBM Support

RS03813: CANNOT PROVIDE A BODY FOR CAST OPERATOR

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • The case of cast operator (like having in the BOM public static
    double operator @double(ilog.rules.brl.CurrencyEuro value); ) is
    a special case, and in the current implementation you cannot
    write a body for it in B2XA (it just doesn't work). The behavior
    that we are seeing is that this body is not considered, and the
    fallback mechanism which is to check  if  the execution type is
    compatible with the cast returned type works and produces no
    error.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users using a cast operator.                                 *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * The case of cast operator (like having in the BOM public     *
    * static                                                       *
    * double operator @double(ilog.rules.brl.CurrencyEuro value);  *
    * ) is                                                         *
    * a special case, and in the current implementation you cannot *
    * write a body for it in B2XA (it just doesn't work). The      *
    * behavior                                                     *
    * that we are seeing is that this body is not considered, and  *
    * the                                                          *
    * fallback mechanism which is to check  if  the execution type *
    * is                                                           *
    * compatible with the cast returned type works and produces no *
    * error.                                                       *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • The code is fixed.
    

Temporary fix

Comments

APAR Information

  • APAR number

    RS03813

  • Reported component name

    WDS FOR RULES

  • Reported component ID

    5725B6903

  • Reported release

    892

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2021-07-06

  • Closed date

    2021-10-07

  • Last modified date

    2021-10-07

  • 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

    WDS FOR RULES

  • Fixed component ID

    5725B6903

Applicable component levels

[{"Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSQP76","label":"IBM Operational Decision Manager"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"892"}]

Document Information

Modified date:
17 February 2022