I have tried the following piece of code already but it's working. Is this rit format?
<?php echo exec('"C:\Program Files\SASHome\SASFoundation\9.3\sas.exe" -SYSIN <<pgmpath with name>> -CONFIG "C:\Program Files\SASHome\SASFoundation\9.3\nls\en\sasv9.cfg"');
?>
Not sure that there will be anything to "echo" even if it works. You might want to add -LOG and -PRINT option to make sure that the SAS log and output files are written where you want them.
<?php echo exec('"C:\Program Files\SASHome\SASFoundation\9.3\sas.exe" -SYSIN <<pgmpath with name>> -CONFIG "C:\Program Files\SASHome\SASFoundation\9.3\nls\en\sasv9.cfg"');
?>
Sorry Tom, Actually the code snippet i mentioned earlier was not working. I hope the above code will work in UNIX based system, But it doesn't work in Windows.
So Let me know if there are any similar codes that would run in a Windows based system.
Hi to all,
Is this possible to use SAS with ASP.NET for the same need?
Hello @Vimal_U
Good day.
Please I would like to know if you are able to achieve your aim back then, i.e. the integrating SAS with PHP. I'am trying to do achieve the same thing.
I will appreciate your insight, thank you.
Since this discussion is more than ten years old, lots of new SAS elements have come up to solve tasks.
Please start a new thread of your own, and describe your use case in detail.
The SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment.
SAS technical trainer Erin Winters shows you how to explore assets, create new data discovery agents, schedule data discovery agents, and much more.
Find more tutorials on the SAS Users YouTube channel.