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

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 1304 views
  • 0 likes
  • 3 in conversation