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-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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