I scrolled down all support pages of sas but cannot find my answer. My question is short and simple: Is there a code for SAS EG that establishes the connection with a server?
With server, I mean the servers as they are found in the Tools>SAS Enterprise guide explorer, and with code I mean a code line in your sas program so that the program itself automatically runs on the right server.
Hope this is just a simple question, but I couldn't find it anywhere.
The server connection has to be established before you can run any SAS code, so this would not work anyway.
And there is no SAS code element to "remote control" the frontend.
Good news: it is a simple question. Bad news: the answer is "no".
As @Kurt_Bremser says, EG has to establish a SAS session before any SAS code can be executed. This is done using facilities that don't involve any SAS code. So there's no way from within SAS code to invoke a server.
In my experience, EG starts a SAS server session as soon as I submit code, or when I open a server to examine the files and datasets.
Tom
Save $250 on SAS Innovate and get a free advance copy of the new SAS For Dummies book! Use the code "SASforDummies" to register. Don't miss out, May 6-9, in Orlando, Florida.
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.