SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 57328: When using log, log10, or square root transformations, the Transform Score code might give "Syntax error, expecting one of the following ..."

DetailsHotfixAboutRate It

In SAS® Factory Miner, when you use a log, log10, or square root transformation in the Transform Variables part of a template, the following error might occur:

ERROR 22-322: Syntax error, expecting one of the following: !, !!, &, (, ), *,**, +, -, /, <, <=, <>, =, >, ><, >=, AND, EQ, GE, GT, IN, LE, LT, NE, NOTIN,OR, [, ^<, ^=, ^>, {, |, ||, ~<, ~=, ~>

The error occurs because the minimum for the original variable was less than 1.

The workaround is to ensure that the minimum value for the original variable is at least 1 before running the above transformations.

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 Factory MinerMicrosoft® Windows® for x6414.114.29.4 TS1M39.4 TS1M4
Linux for x6414.114.29.4 TS1M39.4 TS1M4
* 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.