@nstdt
This is what @Kurt_Bremser was talking about
1.Create a Windows batch script in a desired directory (pyfromsas.bat)
2.Inside that pyfromsas.bat file, add the following lines
REM echo off
set MAS_M2PATH=<C:\Program Files\SASHome\SASFoundation\9.4>\tkmas\sasmisc\mas2py.py
set MAS_PYPATH=C:\<InstallationPath>\python.exe
"<C:\Program Files\SASHome\SASFoundation\9.4>\sas.exe" -CONFIG "<C:\Program Files\SASHome\SASFoundation\9.4>\nls\en\sasv9.cfg“
3.Save the pyfromsas.bat
4.Run the script
C:\> <path>\pyfromsas.bat
Note: Change the <C:\Program Files\SASHome\SASFoundation\9.4> to match the installation directory of the SAS software on your machine.
Hope this helps,
Ahmed