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.

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

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
  • 1339 views
  • 3 likes
  • 4 in conversation