Desktop productivity for business analysts and programmers

libname in local host

Reply
Contributor
Posts: 22

libname in local host

Hi to all!!

I use Enterprise Guide in order to write sas code in My local host.

I haven't SAS server in in my host but only Enterprise Guide.

I connect my host to remote SAS server(Unix) by Enterprise Guide, and we write the sas code in local host, but it's like to run the sas program in remote server unix.

When I define the libname in EG, it recognizes only the directory path of the remote server Unix ( ex:    libname pippo "/base/pol/...."Smiley Wink..

I need, to declare a libname that recognizes also the local directory path of my computer local host, for example:   LIBNAME save "C:/program_files/sas";

Is it possible to do this?

Thanks.

Contributor
Posts: 73

Re: libname in local host

I believe it's possible but you'll need to make a few changes because the server doesn't know what C:\ is...

In order for the server to recognize your C:\ drive, you'll need to "share" it under it's properties and call it C$. Then when you use it in your libanme statement, you'll need to give it a recognizable path that the server can see. For example:

libname save "\\your_pc_name\C$\program_files\sas";

Contributor
Posts: 22

Re: libname in local host

Ok thanks!!

but

how can I set EG in order to do the actions that you describe?

"""In order for the server to recognize your C:\ drive, you'll need to "share" it under it's properties and call it C$. Then when you use it in your libanme statement, you'll need to give it a recognizable path that the server can see."""

thanks!

Contributor
Posts: 73

Re: libname in local host

I'm not sure what you mean "how can I set EG..."

You rename and change the properties of your C:\ drive in windows explorer and your libname statement goes in your SAS code. There's nothing to change in EG.

Ask a Question
Discussion stats
  • 3 replies
  • 2888 views
  • 0 likes
  • 2 in conversation