Score testing in SAS Model Manager is incredibly powerful. A user picks a model, a model version, and the data they want scored, and SAS Model Manager handles the rest. The scored data is available in the Cloud Analytics Service (CAS) on SAS Viya in just a few moments. From there, a user can use that data to create a report in SAS Visual Analytics or use it within a flow in SAS Data and AI Studio. SAS Model Manager has supported models with score code types of DATA Step, DS2, Python, or R through score testing as these models can easily be written as a scoring function (see Training code, scoring code, and what makes a model to learn about the general expectations for model scoring code).
Recently teams that focus on building and using Risk Models pointed out that many of their models don’t fit into this neat definition of a scoring function, yet they would like to run their models through score testing too. These models are written as SAS Programs, but may use multiple tables as inputs, generate multiple tables as outputs, and leverage additional files within their code. This may sound like a tall order, but in 2026.08 release of SAS Model Manager, SAS Programs can now run through score testing. Additionally, with a few small changes to the SAS Program code, users can also leverage multiple tables and files
To prepare your SAS Program for running in a SAS Model Manager score test, there are a few things you’ll need to update in your code. If you are interacting with the SAS Program within the SAS Model Manager Graphical User Interface, you’ll also be prompted to add this information if it is missing anywhere.
Libname <your-name-of-choice> &inputlb;
Libname <your-name-of-choice> & outputlib;
DATA &_MM_OutputDs; set <your-output-table>; run;
Filename <your-name-of-choice> filesrvs “&nameOfFileinMM_extention”;
Now to run the SAS Program in SAS Model Manager in a Score Test, select the input and output CAS libraries in the Test Dialog instead of the input table. And once you have updated your code once, it can now run scoring tests as many times as you like in SAS Model Manager.
To see this enhancement in action, check out the following demo:
What would you like to see next for SAS Model Manager? let us know in the comments!
Visit the Tips & Tricks page for setup guidance, demos, and practical examples that show how Copilot supports your workflows.
The rapid growth of AI technologies is driving an AI skills gap and demand for AI talent. Ready to grow your AI literacy? SAS offers free ways to get started for beginners, business leaders, and analytics professionals of all skill levels. Your future self will thank you.