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;

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 Updates

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.

SAS Training: Just a Click Away

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

Browse our catalog!

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