SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 54696: The error "Invalid Expression" occurs when you create a calculated variable in an expression that includes multiple variable names that are similar

DetailsHotfixAboutRate It

You can create calculated variables for use in nodes within SAS® Real-Time Decision Manager decision campaigns.

When you define an expression in the Calculated Variables Properties window, you can define multiple variables in that expression, as shown in the following example:

COALESCEC(<<Global Variables.FIRSTNAME>>,<<Global Variables.SECONDNAME>>)

However, if the variable names are similar, you might see the following error when you click either the OK button or the Validate button in the Calculated Variables Properties window:

Invalid Expression Compile error

As shown in the following example, the problem occurs when the second variable name contains the same initial characters as in the first variable name. (Note that this does not include the system-generated part of the names.)

COALESCEC(<<Global Variables.CLIENT>>,<<Global Variables.CLIENTNAME>>)

Click the Hot Fix tab in this note to access the hot fix for this issue.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Real-Time Decision ManagerSolaris for x645.416.39.3 TS1M29.4 TS1M1
Linux for x645.416.39.3 TS1M29.4 TS1M1
HP-UX IPF5.416.39.3 TS1M29.4 TS1M1
64-bit Enabled Solaris5.416.39.3 TS1M29.4 TS1M1
64-bit Enabled AIX5.416.39.3 TS1M29.4 TS1M1
Microsoft® Windows® for x645.416.39.3 TS1M29.4 TS1M1
* 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.