Usage Note 56468: SAS® Real-Time Decision Manager returns an "ArgumentOutOfRangeEvaluationException" when you execute a campaign that contains a calculated variable
Calculated variables in SAS Real-Time Decision Manager enable you to perform calculations on input values, intermediate values, or values that are retrieved from a database. However, many functions that you can use in your calculations require a non-null input. If you pass one of these functions a null value during campaign execution, the SAS® Decision Services log records an ArgumentOutOfRangeEvaluationException similar to the following:
com.sas.analytics.ph.common.exp.exception.ArgumentOutOfRangeEvaluationException:
Function substr: argument 2 with value "1" is out of allowable range: 1 .. 0
at
com.sas.analytics.ph.common.exp.FnSubstring.getStringValue(FnSubstring.java:26)
To avoid this problem, use the IsNull and IIF functions to test for null values before sending these values to other functions in your calculation.
Operating System and Release Information
| SAS System | SAS Real-Time Decision Manager | Microsoft® Windows® for x64 | 5.41 | | | |
| 64-bit Enabled AIX | 5.41 | | | |
| 64-bit Enabled Solaris | 5.41 | | | |
| HP-UX IPF | 5.41 | | | |
| Linux for x64 | 5.41 | | | |
| Solaris for x64 | 5.41 | | | |
| SAS System | SAS Decision Services | Microsoft® Windows® for x64 | 5.5 | | | |
| 64-bit Enabled AIX | 5.5 | | | |
| 64-bit Enabled Solaris | 5.5 | | | |
| HP-UX IPF | 5.5 | | | |
| Linux for x64 | 5.5 | | | |
| Solaris for x64 | 5.5 | | | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
| Date Modified: | 2015-09-18 10:11:20 |
| Date Created: | 2015-08-20 16:04:17 |