Hello there,
I have created the library called Orion and assigned the library to the enviornment by executing 'setup' folder under Snippet. But I am getting the error: 'Libref ORION is not assigned'. Do I need to add an 'Infile' statement? I am trying to create a temporary data set named q1birthdays from the input data set orion.employee_payroll.
Please see the codes below:
libname orion "/folders/myfolders/ecprg193";
data q1birthdays;
set orion.employee_payroll;
BirthMonth=month(Birth_Date);
if BirthMonth le 3;
run;%let path = Filepath;
Thank you for your time.
Sahib
If you get that error, it means that the libname statement failed. Check the spelling of the physical path; be aware that UNIX is case-sensitive.
Post the log so we can see the error message.
Re-run the setup as well and include the log if that has errors.
I am a beginner and Ihave the same problem.
I am following the steps in " Setup Instructions for SAS University Edition" by running below lines:
%let path=/folders/myfolders/ecprg193;
libname orion "&path"
But I stuck at below errors:
As any SAS statement, the libname statement needs a closing semicolon.
Because of the missing semicolon, the following options statement is misinterpreted as (invalid) part of the libname statement.
Oh, such a simple mistake.
Thank you very much.
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.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.