The SAS_SCORE() function is available to use in the FROM clause in any SQL expression
in the same way that Aster
nCluster SQL/MR functions are used.
The syntax of the SAS_SCORE() function is as follows:
FROM SAS_SCORE(ON input-table MODEL('model-name'))
specifies the input
table that is used by the SAS_SCORE() function.
specifies the name
of the model. The value of this argument is the same as the value
of MODELNAME=name argument
for the %INDAC_PUBLISH_MODEL macro.
Here is an example of
using the SAS_SCORE function. In this example, the input table is
score_intab and the model name is
reg.
select id, em_classification, em_eventprobability, em_probability
from sas_score (on score_intab model('reg'));