hello, I have one linux (rhel7) test server where I have installed sas 9.4 and have done post configuration for lev1.
I can go to sasfoundaiton dir and run sas as ->./sas -nodms fine
now, I want to run sas job in batch mode with command line like (sas sas-program-name.sas), can someone please help to know how that configure can be done? Thank you.
Keep in mind that you have to use the absolute path if the directory of an app is not in your PATH variable.
In the SASApp tree under Lev1, look for sasbatch.sh and use that.
As @Kurt_Bremser recommended, please use the sasbatch.sh youc an find under Lev1/SASApp/BatchServer.
Then use the command with sasbatch.sh -sysin "yourpath/yourprogram.sas"
Keep in mind that you have to use the absolute path if the directory of an app is not in your PATH variable.
The SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment.
SAS technical trainer Erin Winters shows you how to explore assets, create new data discovery agents, schedule data discovery agents, and much more.
Find more tutorials on the SAS Users YouTube channel.