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.
View solution in original post
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"
The SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment.
Learn how to install the SAS Viya CLI and a few commands you may find useful in this video by SAS’ Darrell Barton.
Find more tutorials on the SAS Users YouTube channel.