SUPPORT / SAMPLES & SAS NOTES
 

Support

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

DetailsHotfixAboutRate It

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.

  1. 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');
  1. Publish the model to the same channel, and select the Replace option.
  2. 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

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Model ManagerLinux for x6415.215.3ViyaViya
* 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.