BookmarkSubscribeRSS Feed
reone
Calcite | Level 5

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/....";)..

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.

3 REPLIES 3
robby_beum
Quartz | Level 8

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";

reone
Calcite | Level 5

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!

robby_beum
Quartz | Level 8

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.

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 8052 views
  • 0 likes
  • 2 in conversation