BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Hi,

I have created a dataset in SAS DI 3.4 Then I go to Enterprise Guide 4 to open and view the data but I can't due to this error.

[Error] Not authorized in the SAS metadata Repository to read data in table/view XXX.XXX.DATA

How to solve this error?

Thanks

Yours Sincerely,
helphelp
4 REPLIES 4
LinusH
Tourmaline | Level 20
A few assumptions:
-You are using the same userid/account in both cases.
-You have no pre-assigned libraries.
If this is the case, EG will assign metadata libname when you try to access data.
In DI Studio by contrast, the generated SAS code will contain old school libnames, which does not take metadata authorization into account, just OS privileges.
Talk to the person responsible for administrating your SAS configuration/security/environment, or look for yourself in SMC to find out how to set appropriate authorizations.

/Linus
Data never sleeps
deleted_user
Not applicable
Hi Linus,

You mean if I am using the same userid/account in both cases, i will have the error? What do u mean by that?

Yours Sincerely,
helphelp
milts
Pyrite | Level 9
Hi HelpHelp,

Log in to your SMC and kindly check the library where the dataset is located.

It should have both read metadata and read allowed i think.

Regards,
Milton
LinusH
Tourmaline | Level 20
What I meant was that if you were using different userids there is also a possibility that these accounts has different rights in metadata/OS level.
/Linus
Data never sleeps

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
  • 4 replies
  • 1435 views
  • 0 likes
  • 3 in conversation