BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Hi ,
I am using SAS EG and running code on remote sas server.
I don't have sas localy installed.
when ever i use libname statement, it takes paths on from server.
If i want to create a local library (On my client m/c) how can i make it?
i have tried

libname testlib "\\Mypc\shared_folder";

but this did not worked.

Any suggestions ?

Thank you

Regards
Avi
7 REPLIES 7
Doc_Duke
Rhodochrosite | Level 12
Avi,

What kind of server? I think that, for you to use a local directory as a library, the SAS server has to be able to connect back to your PC as a network share.

If your SAS server is a Windows box, this may work for an XP EG client:
Go to "my computer"
Select the drive you want to share
Select file --> sharing and security
Share the drive with the network.

The share name would be \\$\

This functionality is often turned off by IT support groups, so you may need them to help you. There should be equivalent functionality for Windows host/Vista client. I'm not sure how to go about it with other SAS server hosts.

Doc Muhlbaier
Duke
deleted_user
Not applicable
Hi doc,

I tried your suggestion.

I am able to access "\\WNTPC06\C$\AVI\LIB" through browser.

this is the log for my code.

10
11 %gaccessible;
12 libname templib "\\WNTPC06\C$\AVI\LIB";
NOTE: Library TEMPLIB does not exist.
13 data templib.abc;
14 set sashelp.flags;
15 run;

ERROR: An I/O error has occurred on file TEMPLIB.ABC.DATA.
NOTE: The SAS System stopped processing this step because of errors.
NOTE: DATA statement used (Total process time):
real time 0.00 seconds
cpu time 0.00 seconds


16

is there some other way?
My server is SAS win 2003 sever and i have XP box.

Regards
Avi
Doc_Duke
Rhodochrosite | Level 12
Can you get to it from another PC via the browser? If so, then you'll likely need your IT group to help you connect to the server.
ChrisHemedinger
Community Manager
On the remote server, are you connecting as you, using your Windows account? Or is it using a machine-level account (like sasdemo)? To access the resource from your remote SAS session, the process must be running as a user that has authority to get to that path.

Chris
It's time to register for SAS Innovate! Join your SAS user peers in Las Vegas on April 16-19 2024.
deleted_user
Not applicable
I don't know , whats the username sas server is running.

how can i make SAS EG to prompt for username and password for server before submiting code to sas server?


regards
Avi
ChrisHemedinger
Community Manager
If you are using EG 4.1, you can look at the section on managing servers on page 37 of the admin guide.

http://support.sas.com/documentation/onlinedoc/guide/admin4.pdf

Chris
It's time to register for SAS Innovate! Join your SAS user peers in Las Vegas on April 16-19 2024.
deleted_user
Not applicable
Thanks chris & doc

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 7 replies
  • 3776 views
  • 0 likes
  • 3 in conversation