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
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.