BookmarkSubscribeRSS Feed
saspert
Pyrite | Level 9

Hello,

I have several SAS Libraries in SAS Management Console 9.4. But only some of them show up in SAS DI Studio 4.9. Should I create a brand new library? I am afraid that it may overwrite an existing library.

 

Please advise.

 

Thanks,
saspert.


missinglib_sasdistudio4.9.png
5 REPLIES 5
SASKiwi
PROC Star

Do the ODBC libraries appear in the EG server window?

 

Try also testing the library in a program: proc contents data = library._all_; run;

saspert
Pyrite | Level 9

Hi saskiwi,

I can see the sas libraries in SAS EG. In fact they are more or less in sync with SAS MC 9.4 list of libraries. I ran the code without any errors in SASEG. proc contents data=abmlib._all_; run;

 

Thanks,

saspert

LinusH
Tourmaline | Level 20
I think @SASKiwi ment to run it in DI Studio...
What is the assignment method?
Also look for authorization.
Data never sleeps
saspert
Pyrite | Level 9

ERROR: Libref CPMLIB is not assigned

is the error I get if I try to run it in SAS DI studio 4.9

SASKiwi
PROC Star

@LinusH - Actually I did mean EG just to confirm the libnames did work outside of DI Studio.

 

@saspert - I suggest you compare an ODBC library definition that works in DI Studio versus one that doesn't work. What is different? One area to check is the metadata folder the definitions are stored in - are they the same or not? Different metadata permissions might cause this problem. 

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

How to connect to databases in SAS Viya

Need to connect to databases in SAS Viya? SAS’ David Ghan shows you two methods – via SAS/ACCESS LIBNAME and SAS Data Connector SASLIBS – in this video.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 5 replies
  • 1488 views
  • 0 likes
  • 3 in conversation