Problem Note 64978: The score.sas file generated by "Prepare for publishing" might be incorrect and model output-variables in the output table might be incorrect
In SAS® Model Manager, the score.sas file that is generated by "Prepare for publishing" might be incorrect.
There are no errors or warnings to indicate a problem. The model output-variables in the output table that is generated when you run a publishing-validation test might be incorrect.
The problem occurs when the score.sas file that is generated contains a model_execution name, and the subsequent model uses the same name.
Example:
resultCode = pm.useModule('model_execution', 1);
To work around the problem, follow these steps.
- Modify the score.sas file for the subsequent model. Change from "model_execution" to a different value.
Example:
resultCode = pm.useModule('model_execution1', 1);
...
revision = pm.publish(pm.getSource(), 'model_execution1');
- Publish the model to the same channel, and select the Replace option.
- Execute the newly created publishing-validation test. Model output variables in the output table should be correct.
Click the Hot Fix tab in this note for a link to instructions about accessing and applying the software update.
Operating System and Release Information
SAS System | SAS Model Manager | Linux for x64 | 15.2 | 15.3 | Viya | Viya |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Type: | Problem Note |
Priority: | high |
Date Modified: | 2020-01-08 08:17:36 |
Date Created: | 2019-10-21 15:47:20 |