Desktop productivity for business analysts and programmers

Accessing Local Folders/Datasets using Enterprise Guide

Reply
N/A
Posts: 1

Accessing Local Folders/Datasets using Enterprise Guide

Hi,

How do I create/access a local library in EG client. How should the path be structured in the libname statement?

Thanks for the help.
Frequent Contributor
Posts: 139

Re: Accessing Local Folders/Datasets using Enterprise Guide

In Windows, you could treat your local pc as a network location. Of course this assumes that the shares are set up properly.

In a code window:
libname mylib '\\ipaddress of my local computer\sharename\';

To get the ip address,
-1) go to run
-2) type cmd
-3) type ipconfig

The share for your local drive is usually c$. But it could be different at your site.

WARNING! The server where SAS is installed may not have access/privilleges to your pc, so you may need to get your system admin folks to set up a share on your pc. You should set up a folder on your local machine just for SAS files and have the network admins share that out to you and the SAS server.

Good luck
-Darryl
N/A
Posts: 0

Re: Accessing Local Folders/Datasets using Enterprise Guide

Generally, within EG, you don't use a libary statement directly.

1) use "Assign library..."
or
2) use the "SAS Enterprise Guide Explorer"
both off of the "Tools" menu
or
3) define the libary in your SAS MetaData Server.

All three cases require that "Local" to have been defined as a logical SAS workspace server first, accessing (or defined to) "localhost"

I generally don't recommend using system root as the base directory for the "files" specification/option when creating the server.

When you create the libary, there will be an opportunity to simply browse to the location (folder or directory) on the server.

I hope this helps.
Community Manager
Posts: 2,697

Re: Accessing Local Folders/Datasets using Enterprise Guide

If you don't have SAS installed on your local PC, you can still access your local SAS data sets -- and you can move your remote SAS data sets to your local PC. You can accomplish this with the Upload Data/Download Data tasks, which you can download for Enterprise Guide 4.1 from:

http://www.sas.com/apps/demosdownloads/setupcat.jsp?cat=SAS+Enterprise+Guide

Chris
Ask a Question
Discussion stats
  • 3 replies
  • 119 views
  • 0 likes
  • 4 in conversation