...
>Is there a way to cancel a whole script maybe?
Danielle - Perhaps this may help...
Server script, cancel There has been no way to terminate a
script as a whole, as TSM provides no
"handle" for the script itself.
However, you can program your script to
include potential break points which
will cause it to exit upon a condition
which you can externally set. For
example, you have a daily script called
DAILY, and in it you code the test:
Query SCRipt DAILY-CANCEL
if (RC_OK) exit
Now, to get the running script to
cancel, you do simply:
COPy SCRipt DAILY DAILY-CANCEL
When the script finishes its current
action and performs the test, it will
find the "cancel" version of the script
to exist and will exit, whereupon you
can then DELete SCRipt DAILY-CANCEL.
Richard Sims
|