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-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

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