Hello,
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.
Paolo
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.
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.
Paolo
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
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.
Ready to level-up your skills? Choose your own adventure.