I was having problems with my SAS jobs getting killed whenever my session ended. I came across this
thread suggesting use of the nohup
command to prevent jobs from shutting down when they receive the hup signal. So, in my .bashrc file, I aliased the sas
command as nohup sas
so that anytime I run a SAS job, I invoke the nohup command. Sounds good so far, right?
Today I was running a long SAS job and it was randomly killed. I found this error message in the log file:
ERROR: System is Terminating Due to Hang Up Signal (SIGHUP)
How can SAS be responding to the hup signal when I started the job using nohup?
In the thread I cite above, folks discussed using the screen
command. Does anyone know if screen can be used remotely (I log in remotely using SSH) or do you have to be right in front of your, umm, screen
to use it?