DATA Step, Macro, Functions and more

How to Know attribute level meta data ID?

Reply
Contributor
Posts: 68

How to Know attribute level meta data ID?

Hello Expert,

 

I want to know meta data id for each attribute of sas data set.

IS there any way to know this?

 

to get metadata id for sas data set and library i got the code.

But stuck with attribute level meta data id,Please help.

Super Contributor
Posts: 345

Re: How to Know attribute level meta data ID?

Posted in reply to Ritesh_dellvostro

Please post the code you already have, making it easier to suggest something usefull for you.

 

With the function metadata_getnatr you can iterate over the various attributes an object has, the documentation has an example.

Super User
Super User
Posts: 7,993

Re: How to Know attribute level meta data ID?

Posted in reply to Ritesh_dellvostro

??  Probably best by starting with what software you are using, as this doesn't sound like Base SAS.  All metadata in Base SAS can be found in the SASHELP.VTABLE/VCOLUMN.

Ask a Question
Discussion stats
  • 2 replies
  • 79 views
  • 0 likes
  • 3 in conversation