Please help me to slove this :ERROR: Libname SASINTRO is not assigned.

Reply
Occasional Contributor
Posts: 5

Please help me to slove this :ERROR: Libname SASINTRO is not assigned.

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

Respected Advisor
Posts: 3,908

Re: Please help me to slove this :ERROR: Libname SASINTRO is not assigned.

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?

Occasional Contributor
Posts: 5

Re: Please help me to slove this :ERROR: Libname SASINTRO is not assigned.

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

Super Contributor
Posts: 349

Re: Please help me to slove this :ERROR: Libname SASINTRO is not assigned.

Hi,

You can assign you libname to SASINTRO like

Libname SASINTRO 'F:\test';

proc print data=sasintro.pilotdata;

run;

Thanks,

Shiva

Regular Contributor
Posts: 184

Re: Please help me to slove this :ERROR: Libname SASINTRO is not assigned.

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.

Occasional Contributor
Posts: 5

Re: Please help me to slove this :ERROR: Libname SASINTRO is not assigned.

Hi Howles

Thank you for your reply, I went back to Lesson 4 and solved this problem.

Thank you 

Ask a Question
Discussion stats
  • 5 replies
  • 592 views
  • 0 likes
  • 4 in conversation