05-09-2012 03:06 PM
I am finding it hard creating a Special Codes Data Set with Special Missing Values for Interactive grouping node in Enterprise miner.
I am working on a scoreing analysis project in Enterprise Miner 7.1, and the Dataset am working with has a lot of default values( -999999, -99998 ,-9996 etc).
According to the help document, I need to use a special codes data set to enable the Interactive grouping node perform the automatic grouping.
I created this data set a couple of times, but when ever I try runing the program , i get this " invalid data set" error.
10-15-2012 10:53 AM
I believe it has to do with the length of the variable "variable".
Please read http://support.sas.com/kb/47/144.html
The Interactive Grouping node in SAS® Enterprise Miner™ enables you to use a Special Codes data set for mapping special missing values. One of the variables in the Special Codes data set is a character variable named "Variable". The variable named "Variable" must be defined as a character variable with length $32, or the Special Codes data set might be ignored when the node runs.
There are no errors or warnings to indicate that the Special Codes data set is not used.
To avoid the problem, make sure that you create the "Variable" variable with length $32.
/* create a special codes data set */
length variable $32 value $5;
replacement = '.A';
replacement = '.B';
replacement = '.C';
For more information, see Using a Special Codes Data Set for Special Missing Values in "SAS Enterprise Miner Help".
I hope it helps,