Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Remote library services

Status
Not open for further replies.

nickbrookes76

Programmer
Nov 25, 2002
1
0
0
GB
Having used sas for a good many years, i've now come up with a very simple question.

Connecting a unix box to a windows box, where the unix box is running the processes, is it possible to backwards assign a libname to unix from windows under an rsubmit statement. I dont want to upload data to windows, just use an rls statement.

FOr instance.

(code running locally on unix)

libname unixlib "/u03/SAS/whatever";
rsubmit windows;
libname unixlib server = x??X;
* hoping to allow windows to see local libnames;
endrsubmit;

Is it possible, and what do i need to put to replace x??X.
 
Yes. You can do several things.
Code:
libname mine '/apps/dw/dat/' server=<hostname> ;
Which creates a remote library on your windows session which points to a folder on your remote Unix box.

Also you can create a libref which points to a remote libref.
Code:
rsubmit;
libname remlib '/apps/dw/dat';
endrsubmit;

libname loclib slibref=remlib server=<hostname>;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top