Hello
I am to new to SAS ,I was trying to create a listing report , using this code below:
proc print data=sasintro.pilotdata;
run;
Then I got this error message in log :ERROR: Libname SASINTRO is not assigned.
How can I slove this problem please ?
Thank you so much
Which client are you using (SAS Enterprise Guide)?
If it is SAS Enterprise Guide: Do you see the library anywhere (eg. under "Server) or do you just run some sample code assuming that the library has been assingned already?
Hello Patrick
Thank you for your response.
I was practicing how to create a listing report using SAS 9.3
then I was trying to add code to create this listing report of the SAS data set named pilotdata, I used the PROC PRINT step to do so. This is the actual code I wrote in Editor window:
proc print data=sasintro.pilotdata;
run;
After I submited the code I got this ERROR in log : ERROR: Libname SASINTRO is not assigned
How can I assign the Libname SASINTRO ? If I slove this error, will I be able to creat a listing report?
Thank you so much
Hi,
You can assign you libname to SASINTRO like
Libname SASINTRO 'F:\test';
proc print data=sasintro.pilotdata;
run;
Thanks,
Shiva
Are you following the lessons at http://wenku.baidu.com/view/08e86d15f18583d0496459e6.html?
SASINTRO is not something built in to SAS. It is a user-provided name. If you reference it without having defined it you will definitely get errors.
So be sure to follow the instructions in Lesson 4 about the LIBNAME statement.
Hi Howles
Thank you for your reply, I went back to Lesson 4 and solved this problem.
Thank you
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.