Scoring Function Names

The names of the scoring functions that are built in Teradata have the following format:
modelname_EM_outputvarname
modelname is the name that was specified in the MODELNAME argument of the %INDTD_PUBLISH_MODEL macro. modelname is always followed by _EM_ in the scoring function name. For more information about the MODELNAME argument, see Running the %INDTD_PUBLISH_MODEL Macro.
outputvarname is derived from the names of the EM_ output variables in the score.xml file that is generated from the SAS Enterprise Miner Score Code Export node. For more information about the score.xml file, see Fixed Variable Names.
One scoring function is created for each EM_ output variable in the score.xml file. For example, if the scoring model DATA step program takes ten inputs and creates three new variables, then three scoring functions are defined, each with the name of an output variable. For example, if you set MODELNAME=credit in the %INDTD_PUBLISH_MODEL macro, and the EM_ output variables are “EM_PREDICTION”, “EM_PROBABILITY”, and “EM_DECISION”, then the name of the scoring functions that are created would be “credit_EM_PREDICTION”, “credit_EM_PROBABILITY”, and “credit_EM_DECISION”.
Note: The scoring function name cannot exceed 30 characters.
CAUTION:
When the scoring function is generated, the names are case-insensitive.
Consequently, if you have model names “Model01” and “model01”, and you create two scoring functions, the second scoring function will overwrite the first scoring function.