Running a SAS program with a .bat file

Gregory_Pannetier
Gregory_Pannetier Altair Community Member
edited March 21 in Community Q&A

We used to use SAS software and now we use Altair Workbench.
We had a .bat file that automatically launched and executed a SAS program. It contained this command :
“C:\Program Files\SASHome\SASFoundation\9.4\sas.exe” -nosyntaxcheck -sysin ”C:\chemin\vers\monfichier.sas”
I would like an equivalent .bat with Altair Worbench that would automatically launch and run this same SAS program.
I've tried the script below but it doesn't work :
“C:\Program FilesAltair\Analytics Workbench2024\eclipse\workbench.exe” -run ”C:\chemin\vers\monfichier.sas”
Could you give me a solution ?

Best Answer

Answers