Desktop productivity for business analysts and programmers

Accepted Solution

Cannot assign library - NOTE: Library ORION does not exist.

Reply
New User
Posts: 1

Re: Cannot assign library - NOTE: Library ORION does not exist.

I am using Sas via a virtual Machine. Can you please add screenshots of how to load orion file. I have tried everything.

Occasional Contributor
Posts: 9

Re: Cannot assign library - NOTE: Library ORION does not exist.

Hi   Cynthia

 

I've got the same problem but in my case the instruction   libname orion '/tutorials/eg/data/ecprg1';  doesn't work, I've tried several times but I'm not able to contact with my Orion database to do the tests as the tutorial says in this page (https://support.sas.com/edu/OLTRN/ECPRG193/eclibjr/setup_studio.htm). 

My Folder direcotry is C:\SASUniversityEdition\myfolders  --> ecprg193 is the folder where the info should be saved. 

 

But each time I execute the instruction I've got the same message: Library ORION does not exist.

 

What I'm supossed of doing wrong? I paste a few xsl files but I don't go any further than this.

 

Greets

Super User
Posts: 19,057

Re: Cannot assign library - NOTE: Library ORION does not exist.

Are you using SAS University Editiom? If so, make sure to follow the SAS UE instructions not the SAS Studio instructions. 

Or try the following:

 

 

%let path=/folders/myfolders/ecprg193;

 

 

 

Occasional Contributor
Posts: 9

Re: Cannot assign library - NOTE: Library ORION does not exist.

Hi Rezza

 

Yes I'm doing the tutorial of SAS University and that's why I feel a bit frustrated failing in something so easy. I've visited both sites to watch the documentation but my program still fails.

http://support.sas.com/software/products/university-edition/faq/shared_folder_access.htm

http://support.sas.com/software/products/university-edition/faq/shared_folder_access_existing.htm

 

I add a print of my screen so you can see that I've added all the folders from the Zip pile.


QuestionPath.png
Super User
Posts: 19,057

Re: Cannot assign library - NOTE: Library ORION does not exist.

You've posted the correct links but aren't following the instructions, or using the code I posted. The VM is a separate computer and doesn't have access to your C drive except for your shared drives. To access the shared drive you need to use the path specified in the documentation NOT your usual path. 

 

 

image.jpeg

Occasional Contributor
Posts: 9

Re: Cannot assign library - NOTE: Library ORION does not exist.

Oh yes I see, I was looking in the windows files and I should do it in the SAS files. I've changed it as you said but I get this Error while trying to run the program

 

z1          OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
z  WARNING: Apparent symbolic reference PATH not resolved.
z  ERROR: The text expression /FOLDERS/MYFOLDERS/ECPRG193 LIBNAME ORION "&PATH" contains a recursive reference to   zz   the macro variable
 z       PATH.  The macro variable will be assigned the null value.
z55        
z56         %let path=/folders/myfolders/ecprg193
z57         libname orion "&path";
z58        
59        
60         OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
72
 
Should I change something?
Occasional Contributor
Posts: 9

Re: Cannot assign library - NOTE: Library ORION does not exist.

And if I write the same sentence but without ecprg193. I mean this:
1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
55
56 %let path=/folders/myfolders
57 libname orion "&path";
58
59
60 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;


Then I get nothing and the orion database still doesn´t be created
Occasional Contributor
Posts: 9

Re: Cannot assign library - NOTE: Library ORION does not exist.

I've get it, because I forget to write " ; " in the first line. So must be ok.
1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
55
56 %let path=/folders/myfolders;
57 libname orion "&path";
NOTE: El libref ORION se ha asignado correctamente:
Motor: V9
Nombre físico: /folders/myfolders
58
59
60 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
72
Occasional Learner
Posts: 1

Re: Cannot assign library - NOTE: Library ORION does not exist.

Thanks. this post solved my problem.. I was using the actual folder location on my local machine and was having the issue. Your post helped me get throught  the issue by using the My folders sectoin on the SAS studio and getting the address of ECPRG193 by right clicking and checking the properties and everything worked perfectly.. Thanks for Sharing..

Occasional Contributor
Posts: 8

Re: Cannot assign library - NOTE: Library ORION does not exist.

I'm having the same problem as well and I don't think I understand what you mean by "then this is the correct LIBNAME statement to point to the Programming 1 data that is already loaded on the server."

Do you mean that I can just copy that code: libname orion '/tutorials/eg/data/ecprg1'; ?

I tried using the code and it still says the Libary does not exist.

I'm also not sure which version of sas i'm using. I'm using 9.4 but some of the interfaces seems different than mine. I'm using SAS through an App2Go feature through my school.


SAS Problem 01.JPG
Super User
Posts: 19,057

Re: Cannot assign library - NOTE: Library ORION does not exist.

@Ammiano13 You're using Base SAS and since you're connecting to a school server it's hard to tell you how to set up the drive. You still need to follow the steps of running the program to create the Orion library, but what you access will be different. 

 

When usinng Apps2go does it give you instructions on how to access a shared drive or your local folder? You'd set the folder up there and run the program. 

 

The difficulty is is that you're using a custom set up so we can't answer your question unless we're familiar with your set up. I would recommend talking to classmates or a professor for instructions on setting this up. 

New Contributor
Posts: 2

Re: Cannot assign library - NOTE: Library ORION does not exist.

I am having the same issue, I am using VMPlayer and The SAS University Edition to do the e course, it seems that i don't have the data files downloaded.

1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;

42 ;

43 %let path=C:\Users\Garrison\Documents\SAS\SASUniversityEdition\myfolders/ecprg193;

44 libname orion "&path";

NOTE: Library ORION does not exist.

45 ;

46 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;

56 ;

Super User
Posts: 19,057

Re: Cannot assign library - NOTE: Library ORION does not exist.

You can't assign paths like that in SAS University Edition. Note the use of backward and forward slashes in your path for one.

There's a few FAQ's on how to assign it on here, as well as in the instructions for the University Edition.

http://support.sas.com/software/products/university-edition/faq/shared_folder_access_existing.htm

http://support.sas.com/software/products/university-edition/faq/shared_folder_access.htm

New Contributor
Posts: 2

Re: Cannot assign library - NOTE: Library ORION does not exist.

Thank You! We are up and running.

New Contributor
Posts: 2

Re: Cannot assign library - NOTE: Library ORION does not exist.

I am using Windows Base SAS from a virtual lab and am unable to create the Orion library.  Any idea where I need to point it to?  Tried everything above to no avail.

☑ This topic is solved.

Need further help from the community? Please ask a new question.

Discussion stats