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

🚨 Early Bird Rate Extended!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9.

 

Lock in the best rate now before the price increases on April 1.

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