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-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

Register now!

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