08-04-2011 03:28 AM
I need to work with two different libraries in the same code. For example:
LIBNAME mylocallib 'c:\locallib'; * My windows PC;
LIBNAME myremotelib '/var/remotelib'; * A Unix remote server;
Those libraries are referring to physical paths on two different servers: local and remote.
My code seems not working:
if I select "Local" server to run it (right click, "Select server") I'm getting an error every time I try to reference some dataset in myremotelib;
if I select a remote server to run it I'm getting an error every time I try to reference some dataset in mylocallib.
Is it possible to work with different libraries on different servers in the same piece of code?
Thank you in advance.
08-04-2011 04:13 AM
You have two possibilities.
first you can use the rsubmit and link this to your libname on the sas session.
other solution is to work with a share and create your libname fith the share name.
have a nice day.
08-04-2011 08:46 AM
Thank you very much Jerry,
It seems to work in SAS BASE, but it doesn't work in Enterprise Guide: the same connection script (.scr) used in SS BASE doesn't work in EG.
The Log isn't able to help me.
Do I have to change something in any script?
Thank you again.