When you run a scoring test for a decision tree, a scorecard, or a neural network model that is registered from SAS® Model Studio, it might fail with the following error in the corresponding SAS log:
warning: WARNING: Assuming the symbol ELSE was misspelled as elseif.
error: ERROR: Statement is not valid or it is used out of proper order.
error: ERROR: No matching DO/SELECT statement. warning:
WARNING: Assuming the symbol ELSE was misspelled as elseif.
error: ERROR: Statement is not valid or it is used out of proper order.
This issue is caused by generated score code (dmcas_scorecode.sas) that contains the following:
To work around this issue, you need to manually modify the dmcas_scorecode.sas code to make the above code similar to the following:
Click the Hot Fix tab in this note for a link to instructions about accessing and applying the software update.
Product Family | Product | System | Product Release | SAS Release | ||
Reported | Fixed* | Reported | Fixed* | |||
SAS System | SAS Visual Data Mining and Machine Learning | Microsoft® Windows® for x64 | 8.4 | Viya | ||
Linux for x64 | 8.4 | Viya |