Hi all
I’m working on a macro which should stop a SAS process under certain conditions.
Everything works fine for batch jobs – but what command would I have to submit if this code runs out of an EG session and I just want to stop the process without disconnecting from the server (behavior like ‘stop’ in the EG 4.2 ‘Task Status Window’?
Feels like an old problem – but I just can’t recall how it’s done.
I tried…
data _null_;
put 'Before Abort';
abort return 0 nolist;
put 'After Abort';
run;
…but this ends the session and I lose all the work tables.
Thanks in advance
Patrick