BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
paul_e
Obsidian | Level 7

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?

1 ACCEPTED SOLUTION

Accepted Solutions
Patrick
Opal | Level 21

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!

Patrick_0-1700170798953.png

 

View solution in original post

5 REPLIES 5
Patrick
Opal | Level 21

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.

paul_e
Obsidian | Level 7

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. 

 
Tom
Super User Tom
Super User

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.

Patrick
Opal | Level 21

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!

Patrick_0-1700170798953.png

 

SASKiwi
PROC Star

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.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

Creating Custom Steps in SAS Studio

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 5 replies
  • 2404 views
  • 3 likes
  • 4 in conversation