A generated text string includes both programming code and variable level information. For a given non–interval variable, the length of the entire text string is equal to the sum of the lengths of the generated text strings for each group. Therefore, the total length can exceed 195 characters if there are many groups (and thus much generated code), or if some of the group levels contain long level names.
When the generated score code group definition is split because of the length of the text string, the parenthesis is placed in the wrong location.
For example, the score code might look like this:
*------------------------------------------------------------*; * Variable:prodvar; *------------------------------------------------------------*; LABEL GRP_prodvar = 'Grouped: prodvar'; LABEL WOE_prodvar = 'Weight of Evidence: prodvar'; _UFormat = prodvar; %dmnormip(_UFormat); if MISSING(_UFORMAT) then do; GRP_prodvar = 1; WOE_prodvar = 3.2521777691; end; else if NOT MISSING(_UFORMAT) then do; if (_UFORMAT eq '05' OR _UFORMAT eq '16' OR _UFORMAT eq '3L' OR _UFORMAT eq '3U' OR _UFORMAT eq '3Y' OR _UFORMAT eq '76' OR _UFORMAT eq 'CE' OR _UFORMAT eq 'E5' OR _UFORMAT eq 'K3') then do; GRP_prodvar = 1; WOE_prodvar = 3.2521777691; end; else if _UFORMAT eq ('K4' OR _UFORMAT eq 'L1' OR _UFORMAT eq 'L2' OR _UFORMAT eq 'L3' OR _UFORMAT eq 'L5' OR _UFORMAT eq 'L8' OR _UFORMAT eq 'PA' OR _UFORMAT eq 'PG' OR _UFORMAT eq 'PH') then do; GRP_prodvar = 1; WOE_prodvar = 3.2521777691; end;
Notice the misplaced open parenthesis on the last IF–THEN/ELSE statement. The first open parenthesis is located after the EQ (equal to) operator:
else if _UFORMAT eq ('K4' OR _UFORMAT...
The correct placement of the first parenthesis is before _UFORMAT:
else if (_UFORMAT eq 'K4' OR _UFORMAT...
There are no error messages in the log from either the Interactive Binning node or from the Interactive Grouping node.
If you are using SAS to score new observations using the generated code, you can use the program editor to correct the placement of the first parenthesis in any incorrect sections of code. However, if the score code was translated to C or Java, then there is no workaround.
Select the Hot Fix tab in this note to access the hot fix for this issue.
Product Family | Product | System | Product Release | SAS Release | ||
Reported | Fixed* | Reported | Fixed* | |||
SAS System | SAS Enterprise Miner | Microsoft® Windows® for 64-Bit Itanium-based Systems | 5.3 | 6.1_M2 | 9.1 TS1M3 SP4 | 9.2 TS2M2 |
Microsoft Windows Server 2003 Datacenter 64-bit Edition | 5.3 | 6.1_M2 | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
Microsoft Windows Server 2003 Enterprise 64-bit Edition | 5.3 | 6.1_M2 | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
Microsoft Windows XP 64-bit Edition | 5.3 | 6.1_M2 | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
Microsoft Windows 2000 Advanced Server | 5.3 | 9.1 TS1M3 SP4 | ||||
Microsoft Windows 2000 Datacenter Server | 5.3 | 9.1 TS1M3 SP4 | ||||
Microsoft Windows 2000 Server | 5.3 | 9.1 TS1M3 SP4 | ||||
Microsoft Windows 2000 Professional | 5.3 | 9.1 TS1M3 SP4 | ||||
Microsoft Windows NT Workstation | 5.3 | 9.1 TS1M3 SP4 | ||||
Microsoft Windows Server 2003 Datacenter Edition | 5.3 | 6.1_M2 | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
Microsoft Windows Server 2003 Enterprise Edition | 5.3 | 6.1_M2 | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
Microsoft Windows Server 2003 Standard Edition | 5.3 | 6.1_M2 | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
Microsoft Windows XP Professional | 5.3 | 6.1_M2 | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
64-bit Enabled AIX | 5.3 | 6.1_M2 | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
64-bit Enabled HP-UX | 5.3 | 6.1_M2 | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
64-bit Enabled Solaris | 5.3 | 6.1_M2 | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
HP-UX IPF | 5.3 | 6.1_M2 | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
Linux | 5.3 | 6.1_M2 | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
Linux on Itanium | 5.3 | 6.1_M2 | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
Solaris for x64 | 5.3 | 6.1_M2 | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
Tru64 UNIX | 5.3 | 6.1_M2 | 9.1 TS1M3 SP4 | 9.2 TS2M2 |
A fix for this issue for SAS Enterprise Miner 5.3 is available at:
http://www.sas.com/techsup/download/hotfix/dmine53.html#036506A fix for this issue for SAS Credit Scoring for Enterprise Miner 5.3 is available at:
http://www.sas.com/techsup/download/hotfix/creditscr53.html#036506Type: | Problem Note |
Priority: | high |
Topic: | Analytics ==> Data Mining |
Date Modified: | 2009-08-11 14:08:40 |
Date Created: | 2009-07-10 14:22:55 |