BookmarkSubscribeRSS Feed
Mahesh_124
Calcite | Level 5

Hi ,

 

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.

 

Thanks,

Mahesh T.

3 REPLIES 3
RahulG
Barite | Level 11

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.

Mahesh_124
Calcite | Level 5

Thank you Rahul .I'll check and let you know.

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

How to Concatenate Values

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 1270 views
  • 0 likes
  • 3 in conversation