There are a few programs and macros that are not externally documented but are available even in an environment where SAS Enterprise Miner is not installed. Enterprise Miner generates score code that can be run in base SAS and the macros
* DMNORLEN.sas
* DMNORMCP.sas
* DMNORMIP.sas are installed and available in Base SAS. SAS Enterprise Miner uses these macros to normalize variable names and levels to be no longer than 32 characters. This helps to keep the size of the score code manageable and also speeds processing since comparing long strings of characters is more time consuming. The change is done internally during modeling/scoring but does not impact the original variables. This is more than just truncating the variables since Enterprise Miner must still distinguish between different variables names/levels which may have similar names. We often recommend making sure every variable name and level differs in the first 20 characters so that they can be distinguished even if they are normalized. In the event that variable names or levels need to be truncated and there are multiple names/levels with the same first 32 characters, these macros will shorten the names again and add numbers to keep them separate, but this makes it challenging to map back to the actual variables.
I hope this helps!
Doug
... View more