DATA Step, Macro, Functions and more

Libname statement in SAS univerity edition

Reply
Occasional Contributor
Posts: 9

Libname statement in SAS univerity edition

[ Edited ]

I am running a code 

libname kyaile "/folders/myshortcuts/myfolders/sas data/prg1";

 

 

in log error is 

libname"/folders/myshortcuts/myfolders/sas data/prg1"; is not in the list of accessiable path when SAS is in lockdown state.

 

what s wrong with my code

 

 

 

Super User
Posts: 10,570

Re: Libname statement in SAS univerity edition

You are not supplying a logical libname.

libname mylib "/folders/myshortcuts/myfolders/sas data/prg1";
---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers
How to convert datasets to data steps
How to post code
Occasional Contributor
Posts: 9

Re: Libname statement in SAS univerity edition

Posted in reply to KurtBremser

actually i provided it. while typing here i forgot to mention. I also tried with my c drive location but nope its not working

 

Super User
Posts: 24,004

Re: Libname statement in SAS univerity edition


bumchum wrote:

actually i provided it. while typing here i forgot to mention. I also tried with my c drive location but nope its not working

 


Post your exact code and log. 
We can only comment on what we see here. 

Super User
Posts: 24,004

Re: Libname statement in SAS univerity edition

Also, this path, with myshortcuts, 

/folders/myshortcuts/myfolders/

 

Usually means you've set up the myfolders incorrectly according to the installation instructions OR you've explicitly created another library with the exact same name as recommended in the set up guide. If it's the latter, ignore this comment entirely Smiley Happy

 

 

Ask a Question
Discussion stats
  • 4 replies
  • 112 views
  • 0 likes
  • 3 in conversation