ADSM-L

[ADSM-L] Cancelling REPLICATION Processes via script.

2014-06-19 09:23:47
Subject: [ADSM-L] Cancelling REPLICATION Processes via script.
From: "Vandeventer, Harold [BS]" <Harold.Vandeventer AT KS DOT GOV>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Thu, 19 Jun 2014 13:21:53 +0000
I have an admin script that issues several node replicate commands, with 
WAIT=YES on each to control bandwidth/processor burden.

If I issue CANCEL REPLICATION, only the currently running process is cancelled. 
 The next REPLICATE NODE (pending via the script) then starts.

Is there a way to cancel all of those pending processes?

I tried a DELETE <schedule_name> TYPE=A (it did delete the schedule), followed 
by CANCEL PRO (on the currently running process), but the next REPLICATION 
immediately started.

The only solution coming to mind is to write a script that would repeatedly 
issue "Q REPLICATION *" with a CANCEL REPLICATION issued if one is active.  
Then exiting when none are found.

Any of you TSM wizards have a solution you're willing to share? ... thanks.

------------------------------------------------------------
Harold Vandeventer
Systems Programmer
State of Kansas - Office of Information Technology Services
STE 751-S
910 SW Jackson
(785) 296-0631


[Confidentiality notice:]
***********************************************************************
This e-mail message, including attachments, if any, is intended for the
person or entity to which it is addressed and may contain confidential
or privileged information.  Any unauthorized review, use, or disclosure
is prohibited.  If you are not the intended recipient, please contact
the sender and destroy the original message, including all copies,
Thank you.
***********************************************************************

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