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 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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