IBM Support

RS01898: INCORRECT IRL CODE GENERATED FOR "CHARACTER DOES NOT EQUAL CHAR"

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The IRL generated for "Character does not equal char" is
    incorrect and may lead rules to fire (or not fire) unexpectedly.
    Namely the BAL rule:
        if  myCharacterObject does not equal `c`  then...
    is translated to the IRL:
       evaluate ((myCharacterObject !=
    java.lang.Character.valueOf('c')));
    which will be true even if myCharacterObject is 'c' .
    Instead the IRL should be:
    evaluate ((myCharacterObject.charValue() != 'c'));
    

Local fix

  • - use "is not" instead of "does not equal"
    - use Decision Engine ruleset build mode  instead of Classic
    rule engine build mode if available (8.5.1+)
    - use a modified boot.bom where the property computeBestType
    "true" is added to the method Character.doesNotEqual().
    

Problem summary

  • Incorrect code generation for character constant
    

Problem conclusion

  • The code is fixed
    

Temporary fix

Comments

APAR Information

  • APAR number

    RS01898

  • Reported component name

    WS DECISION SVR

  • Reported component ID

    5725B6901

  • Reported release

    851

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-02-11

  • Closed date

    2015-03-27

  • Last modified date

    2015-03-27

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

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

Modules/Macros

  • 999
    

Fix information

  • Fixed component name

    WS DECISION SVR

  • Fixed component ID

    5725B6901

Applicable component levels

  • R851 PSY

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SUPPORT","label":"IBM Worldwide Support"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.5.1","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
09 February 2022