BookmarkSubscribeRSS Feed
keds
Calcite | Level 5

Hi all

i have these things in logs all the time ...A0000001.A5STQABL ... metadata ID. i want to map these things to some logical names.

is there a way to get logical name for these metadata id.

for instance , i had to go into the SMC to check that the above is mapped to "SAS Web Infrastructure Platform"

i did something like below and it didnt work, dont know if i am doing this correctly .

data _null_;

    length id $20

    type $256;

    rc=metadata_resolve("omsobj:A0000001.A5STQABL",type,id);

    put rc=;

    put id=;

    put type=;

run;

o/p is rc=0 ; id=;type=;

can somebody let me know how to get around this ?

Thanks

Keds

1 REPLY 1
FriedEgg
SAS Employee

data _null_;

length name $ 128;

rc=metadata_getattr("omsobj:A0000001.A5STQABL","Name",name);

put name=;

run;

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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