When I tried to open the local SAS dataset, the following error occurred
and this is the log:
ERROR SAS.EC.Environment.CurrentApplication [(null)] - GetUserNameEx call returned error code: 1332
SAS Enterprise Guide uses an installed SAS Local OLE DB data provider to read local SAS data sets, without connecting to a SAS server. Unless you have Local SAS installed, in which case it connects to that local SAS to read the data.
The error you show here is either a bug or the result of an incomplete/corrupted installation. You could try to work around it by connecting to your SAS server (assuming it's remote) and then use the Upload Data Sets task to copy your local sas7bdat to a server library. Eventually you will want to fix this in EG though, which might mean reinstalling. If you want more troubleshooting before you go to all of that effort, I suggest working with SAS Technical Support.
Did you install local SAS?
Then try "Register Base SAS® as the Local COM Server" part in this KB https://sas.service-now.com/kb?id=kb_article_view&sysparm_article=KB0036297
Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!
Check out this tutorial series to learn how to build your own steps in SAS Studio.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.