See the PROC PRINTTO Documentation
Do you mean to run programs in batch without user intervention?
In what? You haven't provided any information. What software are you using, is it server based, local install. What type of program.
If a session is closed prematurely then it stops at the point it was running at normally.
@aranganayagi wrote:
I am running sas program in server. Whenever LAN is disconnected, the programs are getting aborted. I heard there is one command called nohup, Can someone help to get the exact command and how to use it.
That's an easy one.
As soon as you have something that can be run from the commandline (eg a SAS program that can be run with the supplied sasbatch.sh), do
nohup sasbatch.sh program.sas &
The & at the end moves the program to the background (you immediately get your prompt back, and are shown the number of the background process). nohup prevents the sendig of a SIGHUP to the process in case the connection fails/is terminated.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.