I'm new to SAS & use SAS EG 7.1 remotely. I have few datasets in my SAS libraries. I would like to access those datasets in my Python code which I run locally.
Would like to know how we can connect remote SAS with Python?
I will be highly obliged,If you could please help me with each steps to get this.
I tried Googling but couldn't get it up and running.
Thank you in advance.
Never used python to connect to SAS so can't reply directly.
But be mindful that EG is just a client, like python. You need to connect to the server.
If you are using the saspy package it has instructions for how to connect to a SAS application server. That is what Enterprise Guide is connecting to. Talk to your SAS administrator to get the details for your server.
Instructions are right here: https://sassoftware.github.io/saspy/install.html#iom-using-java you will be using the remote verison.
Repo is: https://github.com/sassoftware/saspy
and examples are here: https://github.com/sassoftware/saspy-examples/tree/master/SAS_contrib
saspy can connect to the same workspace server that your EG client connects to. As @Tom mentioned, it sounds like you might need some help from your SAS admin.
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.