A better process might be to put the Reclamation last on the list of things to run. In other words instead of stopping reclamation to do other things, do all other things first and then run reclamation.
Or you could create a script to get the process number for reclamation processes and then cancel them one by one. But, that's not the safest way to do it, because a process won't stop until it's ready anyway. If your script keeps trying to cancel the same process over and over without a check, it could cause other issues. You could do something like: If reclaim is running Get reclaim process num Cancel process num If reclaim is running Update sched starttime=now+00:05 Otherwise exit This would wait 5 mins before running the script again. If you have multiple processes you would need a way to check uniqueness, and handle lists of numbers. It could get messy, and you'd need a fairly high level of scripting skills. I'd think if you did this at the OS level, instead of using TSM's scripts you might be able to do it with more control and simplicity. So, I'd go back to the do other things, then run reclamation if it's at all possible. See Ya' Howard > -----Original Message----- > From: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED] On Behalf > Of Lepre, James > Sent: Monday, October 27, 2008 10:54 AM > To: ADSM-L@VM.MARIST.EDU > Subject: Re: [ADSM-L] Reclamation > > Hello Everyone, > > > > Has anyone written a script to stop reclamation at a certain point > or > know of a way to stop it instantly without canceling the process > manually from the command line. I know you can use the duration > parameter; however this stops the reclamation after it is done with the > current volume. I am looking to control the process more because of > other VTL processes need more precedent. I am currently running TSM v > 5.5.1 on a windows 2003 server. > > > > Any help is always appreciated > > > > Thank you > > > > James Lepre > > Senior Server Specialist > > Solix, Inc. > > 100 S. Jefferson Road > > Whippany, NJ 07981 > > Phone: 973-581-5362 > > Cell: 973-223-1921 > > > > > > > > > --------------------------------------------------------------- > Confidentiality Notice: The information in this e-mail and any > attachments thereto is intended for the named recipient(s) only. This > e-mail, including any attachments, may contain information that is > privileged and confidential and subject to legal restrictions and > penalties regarding its unauthorized disclosure or other use. If you > are not the intended recipient, you are hereby notified that any > disclosure, copying, distribution, or the taking of any action or > inaction in reliance on the contents of this e-mail and any of its > attachments is STRICTLY PROHIBITED. If you have received this e-mail > in error, please immediately notify the sender via return e-mail; > delete this e-mail and all attachments from your e-mail system and > your computer system and network; and destroy any paper copies you may > have in your possession. Thank you for your cooperation.