DATA Step, Macro, Functions and more

How to Know attribute level meta data ID?

Reply
Contributor
Posts: 63

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: 259

Re: How to Know attribute level meta data ID?

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,401

Re: How to Know attribute level meta data ID?

??  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
  • 69 views
  • 0 likes
  • 3 in conversation