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.
Available on demand!
Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.
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.
Select SAS Training centers are offering in-person courses. View upcoming courses for: