Problem Note 31899: Scorecard C score code might produce incorrect scores if numeric class inputs do not have formats assigned in the metadata
If you use the Scorecard node in SAS® Enterprise MinerTM to create C code, the created code might be incorrect if numeric class inputs do not have formats assigned in the metadata.
The problem occurs because numeric class inputs that do not have formats assigned in the metadata have a BEST format applied in the score code. When the format is applied, the variable is compared to a numeric value causing an implicit conversion from numeric to character in SAS data step code. This data step code produces correct scores, however C code cannot do this implicit conversion and might produce incorrect scores.
There are no workarounds.
Select the Hot Fix tab in this note to access the hot fix for this issue.
Operating System and Release Information
| SAS System | SAS Enterprise Miner | Tru64 UNIX | 5.2 | | | |
| Solaris for x64 | 5.2 | | | |
| HP-UX IPF | 5.2 | | | |
| 64-bit Enabled Solaris | 5.2 | | | |
| 64-bit Enabled AIX | 5.2 | | | |
| 64-bit Enabled HP-UX | 5.2 | | | |
| Microsoft Windows XP Professional | 5.2 | | | |
| Microsoft Windows Server 2003 Standard Edition | 5.2 | | | |
| Microsoft Windows Server 2003 Enterprise Edition | 5.2 | | | |
| Microsoft Windows Server 2003 Datacenter Edition | 5.2 | | | |
| Microsoft Windows NT Workstation | 5.2 | | | |
| Microsoft Windows 2000 Server | 5.2 | | | |
| Microsoft Windows 2000 Professional | 5.2 | | | |
| Microsoft Windows 2000 Datacenter Server | 5.2 | | | |
| Microsoft Windows 2000 Advanced Server | 5.2 | | | |
| Microsoft® Windows® for x64 | 5.2 | | | |
| Microsoft Windows XP 64-bit Edition | 5.2 | | | |
| Microsoft Windows Server 2003 Enterprise 64-bit Edition | 5.2 | | | |
| Microsoft Windows Server 2003 Datacenter 64-bit Edition | 5.2 | | | |
| Microsoft® Windows® for 64-Bit Itanium-based Systems | 5.2 | | | |
*
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.
The Scorecard score code might normalize a numeric variable without a specified format to a character value and then compare the character value to a numeric constant.
| Type: | Problem Note |
| Priority: | alert |
| Date Modified: | 2008-05-05 09:06:47 |
| Date Created: | 2008-04-28 06:55:56 |