Problem Note 49007: Score code that is generated by the Transform Variables node inside a Start Groups / End Groups loop might be incorrect
The Start Groups and End Groups nodes in SAS® Enterprise Miner™ enable you to perform BY-group processing. However, if your group processing includes a Transform Variables node, scored results might be incorrect. The problem occurs when all of the following conditions are true:
- The Interval Inputs Optimal Binning property is selected.
- The OPT_<variable_name> variables that are created for each group have
different LENGTH values for two or more groups.
- The largest LENGTH value is not the first LENGTH value.
The generated score code uses the LENGTH value from the first group when scoring all groups. When all conditions are met, there is at least one subsequent LENGTH value that is longer, and the values of the scored data are incorrectly truncated.
There are no errors to indicate a problem. Scoring completes. However, if you examine the LOG from scoring, warnings such as the following are displayed:
WARNING: Length of character variable OPT_<variable_name> has already been set.
Use the LENGTH statement as the very first statement in the DATA STEP to
declare the length of a character variable.
To work around the problem, manually edit the generated score code. Change the LENGTH value for OPT_<variable_name> variables such that each one is as long as the maximum LENGTH of all of them. Used the edited score code to re-score the data.
Operating System and Release Information
SAS System | SAS Enterprise Miner | Microsoft Windows Server 2012 | 5.1 | | | |
Microsoft Windows Server 2008 | 5.1 | 12.3 | | 9.4 TS1M0 |
Microsoft Windows Server 2008 for x64 | 5.1 | 12.3 | | 9.4 TS1M0 |
Microsoft Windows Server 2003 for x64 | 5.1 | 12.3 | | 9.4 TS1M0 |
Microsoft Windows Server 2003 Standard Edition | 5.1 | 12.3 | | 9.4 TS1M0 |
Microsoft Windows Server 2003 Enterprise Edition | 5.1 | 12.3 | | 9.4 TS1M0 |
Microsoft Windows Server 2003 Datacenter Edition | 5.1 | 12.3 | | 9.4 TS1M0 |
Microsoft Windows NT Workstation | 5.1 | | | |
Microsoft Windows 2000 Professional | 5.1 | | | |
Microsoft Windows 2000 Server | 5.1 | | | |
Microsoft Windows 2000 Datacenter Server | 5.1 | | | |
Microsoft Windows 2000 Advanced Server | 5.1 | | | |
Microsoft Windows 95/98 | 5.1 | | | |
Microsoft Windows 8 Pro | 5.1 | | | |
Microsoft Windows XP Professional | 5.1 | 12.3 | | 9.4 TS1M0 |
Windows 7 Enterprise 32 bit | 5.1 | 12.3 | | 9.4 TS1M0 |
Windows 7 Enterprise x64 | 5.1 | 12.3 | | 9.4 TS1M0 |
Windows 7 Home Premium 32 bit | 5.1 | 12.3 | | 9.4 TS1M0 |
Windows 7 Home Premium x64 | 5.1 | 12.3 | | 9.4 TS1M0 |
Windows 7 Professional 32 bit | 5.1 | 12.3 | | 9.4 TS1M0 |
Windows 7 Professional x64 | 5.1 | 12.3 | | 9.4 TS1M0 |
Windows 7 Ultimate 32 bit | 5.1 | 12.3 | | 9.4 TS1M0 |
Windows 7 Ultimate x64 | 5.1 | 12.3 | | 9.4 TS1M0 |
Windows Millennium Edition (Me) | 5.1 | | | |
Windows Vista | 5.1 | 12.3 | | 9.4 TS1M0 |
Windows Vista for x64 | 5.1 | 12.3 | | 9.4 TS1M0 |
64-bit Enabled AIX | 5.1 | 12.3 | | 9.4 TS1M0 |
64-bit Enabled Solaris | 5.1 | 12.3 | | 9.4 TS1M0 |
HP-UX IPF | 5.1 | 12.3 | | 9.4 TS1M0 |
*
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.
Type: | Problem Note |
Priority: | alert |
Date Modified: | 2013-01-28 13:09:33 |
Date Created: | 2013-01-28 08:38:23 |