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 

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Update

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

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
  • 1191 views
  • 0 likes
  • 2 in conversation