Search notes:

SAS automatic macro variable: sysjobid

&sysjobid contains the process identifier (PID) of the Unix process associated with a sas session.
This id can be used to kill a hanging session. First, the id must be found with %put &sysjobid;. Then, the id can be used in a shell. Assuming, the value of &sysjobid is 41805:
$ kill -9 41805

See also

automatic macro variables

Index