I have a python code on my PC. I would like to call the Python code using SAS EG which is running on application server installed on Linux. By using x commands from SAS EG, it can run commands on the Linux environment. With this setup is there a way to run system commands on windows?
Reeza, as always, is correct, in that if you have Base SAS on your local machine, then EG can launch a local SAS session and, assuming you have ALLOWXCMD, then you can call your python program. You probably are your own administrator for your local SAS environment, so ALLOWXCMD is likely not a problem.
I wanted to also point out this alternative approach:
https://blogs.sas.com/content/sasdummy/2013/11/25/11-custom-tasks/, and
https://blogs.sas.com/content/sasdummy/2007/10/05/you-are-under-my-command-prompt/
You'll need the ability to install a custom task into EG.
Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!
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.