07-31-2017 12:49 AM
I am not able to run batchmode (Unix) due to some reasons in my current organisation .
Can any one help me how to run sas in windows batchmode and share me few examples for me.
07-31-2017 01:19 AM
This is the simplest form of command, there are other option that you can also use if needed.
<SAShomepath>/SASHOME/SAS Foundation/9.4/sas.exe -sysin <codepath>/test.sas -log <logpath>/test.log
<SAShomepath> - SAShome path,
<codepath> - path where sas code is stored
<logpath> - path where you want to store log file.
07-31-2017 02:36 AM
@RahulG's suggested solution needs a local install of SAS on your Windows PC, or a login to a UNIX console on the SAS server, of course.