A fix is available
APAR status
Closed as program error.
Error description
With a field or parameter myBigInteger of type java.math. BigInteger the following test in an action rule: myBigInteger is 5000000000 is translated into the IRL: myBigInteger.compareTo(new java.math.BigInteger(java.lang. Integer.toString((int) 5000000000L ))) == 0 where the long literal value is cast to an int.
Local fix
modify in ilog\rules\brl\translation\codegen\conversions. properties irl@long->java.math.BigInteger = new java.math.BigInteger( java.lang.Integer.toString((int)%(%{0}%)%)) to irl@long->java.math.BigInteger = new java.math.BigInteger(java. lang.Long.toString(%(%{0}%)%)) in plugins\ilog.rules.brl.bom_<version>\brlbom.jar for Rule Designer and in teamserver\WEB-INF\lib\jrules-language-<version>. jar\ilog\rules\brl\translation\codegen\conversions.properties for Decision Center
Problem summary
The code generation for BigInteger is incorrect
Problem conclusion
The code generator is modified to accept all values as input for a BigInteger
Temporary fix
Comments
APAR Information
APAR number
RS01413
Reported component name
WDS FOR RULES
Reported component ID
5725B6903
Reported release
801
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2013-09-11
Closed date
2013-09-30
Last modified date
2013-09-30
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
WDS FOR RULES
Fixed component ID
5725B6903
Applicable component levels
R850 PSY
UP
[{"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":"8.0.1","Line of Business":{"code":"LOB45","label":"Automation"}}]
Document Information
Modified date:
17 February 2022