BookmarkSubscribeRSS Feed
a20121248
Obsidian | Level 7

Hi experts:

 

I have a published model in CAS in SAS Model Manager. I need a "programmatically" way to access the features of the model in order to do some data preparation and reports in SAS Studio.

 

I know my models are published in this table, but I don't see any metadata about the features of the model.

a20121248_0-1694387401491.png

 

I need to access this features from a published model in CAS (not MAS):

a20121248_0-1694387638781.png

Thank you in advance.

1 REPLY 1
pkaczynski
SAS Employee

Hi,

If you know which model you published (and version) from Model Manager you can easily get names of the variables from metadata there. See attached macro to get variables based on model and project name along with a supporting macro to get model UUID based on name (sorry for polish comments, probably you can google translate it ;))

 

Regards,

Piotr 

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

Develop Code with SAS Studio

Get started using SAS Studio to write, run and debug your SAS programs.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1300 views
  • 0 likes
  • 2 in conversation