ADSM-L

Re: Options when a 2 process backup stg from script has 1 process die

2004-04-06 14:51:02
Subject: Re: Options when a 2 process backup stg from script has 1 process die
From: Richard Sims <rbs AT BU DOT EDU>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Tue, 6 Apr 2004 14:50:16 -0400
...
>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

<Prev in Thread] Current Thread [Next in Thread>