Its not perfect
but my current ABS (abort session) command file looks like this
:print abs.cmd
PARM SNUM
NSCONTROL KILLSESS=#S!SNUM
IF DSERR = 664 THEN
PAUSE 2
ABORTJOB #S!SNUM
ENDIF
+=====================================
Keven Miller KC7LYD
[log in to unmask] (Salt Lake City, Utah, USA)
+=====================================