A fix is available
APAR status
Closed as program error.
Error description
When a BAL rule is comparing a date using the expression this date is before or the same as the other date, the result translated using JRules2dotNet and the method DateTime. compareTo method never returns true even when it shoud
Local fix
use an extender <class caseSensitivity="any"> <businessName>ilog.rules.xml.types.IlrDateTime</businessName> <executionName>System.DateTime</executionName> <extenderName>myDate</extenderName> </class> With the method public static Int32 CompareTo(DateTime that, DateTime value) { return that.CompareTo(value); }
Problem summary
there is an issue when generating the MSIL code that invokes the method CompareTo a value is passed instead of the reference.
Problem conclusion
The code generation is modified so that the execution of the method CompareTo returns the expected result.
Temporary fix
Comments
APAR Information
APAR number
RS01470
Reported component name
WS DECISION SVR
Reported component ID
5725B6901
Reported release
801
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2013-11-13
Closed date
2013-11-15
Last modified date
2013-11-15
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
R801 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.0.1","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
09 February 2022