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.

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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