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

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

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