I'm new to EG and have the following question: I have a windows PC with SAS EG and no local SAS.
And I have a linux machine with SAS 9.4.
Is it possible to use SAS EG as a client to the remote SAS on the linux machine?
How can I do that connection?
@JMS - EG 8.2 has the option to avoid using a SAS metadata server and directly logon to a SAS Workspace server. I suspect this is the functionality you need.
Typically,
EG (Client App) would connect to Server Side SAS via SAS Metadata Server instance running of a Server.
If you and your Organization don't have SAS Metadata Server licensed, then you can connect via SAS/CONNECT if that module is licensed on the Server, and you have a SAS Connect Spawner instance running on the Linux Server.
Hope this helps,
Ahmed
Ahmed I have no spawner running. I could start it but I have not root rights and I'm not sure if I'm allowed to start programs listening on a port. I would prefer to start SAS by connecting with ssh.
If it works with the spawner, what is the next step? Specify target ip&port in EG?
What if it is not possible to use a spawner, will it work with ssh?
Couple of things to keep in mind
One other alternative, which depends on your Linux SAS Installation, Check if your organization has SAS Studio Basic installed. This would be your best choice.
Ahmed
If and when you get the SAS/connect spawner running, then in EG you would do something like this in a program entry
%let server = &p_linuxSrvr 7541; *<---- Replace the Port (7541) if different value being used by the Connect spawner;
options comamid=tcp;
signon server user="&p_user" password="&p_PASSWORD";
LIBNAME r_work slibref=work server=server;
Rsubmit;
/* SAS statement(s) */
EndRsubmit;
/* When you are done */
signoff;
You'll need to replace &p_xxxx place holder variables with your actual values.
Hope this helps,
Ahmed
Ahmed, I think your program only works if there is a local SAS, which I don't have.
In this case, it looks like your only option is using connection profile from within EG, similar to what @Patrick had illustrated with his attached screenshot.
You'll need to contact your SAS Administrator and
Ahmed
SAS EG is a client. You can use SAS installed locally as your server but normally SAS is installed on a remote machine.
The SAS Metadata server is part of the foundation package and you will always have it licensed. And it will always be up and running on a Server instance. That's what you need to connect to SAS even if using SAS/Connect (which allows to connect SAS/Servers not Client/Server).
You just need to be set-up on the SAS Server (SAS Metadata identity and OS account) and then as a one time setup in your EG client add the connection details (SAS Metadata Server name and port, user and credentials).
Under Tools/Connection
@AhmedAl_Attar - AFAIK, it is the customer's choice to "metadata server-enable" SAS or not. SAS's product bundles don't explicitly specify this one way or the other although this option is really only available for Foundation SAS. Most non-Foundation SAS products require a metadata server.
I started the spawner with "cntspawn -service 9999 -cleartext -debug".
In EG, I defined a server pointing to the spawner at port 9999. When I log in from EG, it does not work. The spawner logs the login request, but brings strange errors like "connection reset by peer".
As it was mentioned before, without local SAS instance, your EG can only connect via SAS Metadata server. Getting the Spawner started is not enough.
Check these two, somewhat dated, papers to give you a good understanding on what's we have been trying to elaborate about the SAS Intelligence Platform.
https://support.sas.com/resources/papers/proceedings11/363-2011.pdf
https://support.sas.com/resources/papers/proceedings/pdfs/sgf2008/051-2008.pdf
Hope this helps,
Ahmed
@AhmedAl_Attar wrote:
Here is yet another paper
https://support.sas.com/resources/papers/proceedings13/406-2013.pdf
Thank you Ahmed, this one is very good!
@JMS - EG 8.2 has the option to avoid using a SAS metadata server and directly logon to a SAS Workspace server. I suspect this is the functionality you need.
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!
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.
Ready to level-up your skills? Choose your own adventure.