Hello, considering I have two different active application servers in my active server connection. How do I tell SAS which app server to use for a library definition? I know there's a server= option but that's only usable for remote server connection, isn't it?
I don't use EG but I would assume which server to send code to would be an attribute of the program node. So to make librefs on two different application servers you would have two different program nodes.
Exactly!
The library will always get assigned under the application server under which you execute the libname statement.
"I know there's a server= option but that's only usable for remote server connection, isn't it?"
Yes, that's for remote library services (RLS) which is part of SAS/Connect. And the docu states: RLS is a good solution for processing a small number of observations.
I think this was faulty reasoning from the beginning. Of course, the code is transmitted to the application server that's active in the first place.
You cannot do it with SAS code, since the SAS code know nothing about your Enterprise Guide session.
I don't use EG but I would assume which server to send code to would be an attribute of the program node. So to make librefs on two different application servers you would have two different program nodes.
I don't use EG but I would assume which server to send code to would be an attribute of the program node. So to make librefs on two different application servers you would have two different program nodes.
Exactly!
Yes, your application server is dictated by the one you define in your EG connection profile. To change application servers you must change connection profiles.
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
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.