Would it fail, or just take a loong time to complete? -----Original Message----- From: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED] On Behalf Of Dan Foster Sent: Wednesday, July 14, 2004 1:23 PM To: [EMAIL PROTECTED] Subject: Re: Cancel all processes
Hot Diggety! MC Matt Cooper (2838) was rumored to have written: > I am not aware of a cancel all processes. However, you can write a > script to do it. It would be based on the fact that TSM will tell you > all the processes that are running. select process_num from processes > will give you the process_num numbers that need to be canceled One caveat, from the 5.1 help information: : Some processes, such as reclamation, will generate mount requests in : order to complete processing. If a process has a pending mount request, : the process may not respond to a CANCEL PROCESS command until the mount : request has been answered or cancelled by using either the REPLY or : CANCEL REQUEST command, or by timing out. : Use the QUERY REQUEST command to list open requests, or query the : activity log to determine if a given process has a pending mount : request. So a simple q proc (or equivalent) + canc <proc num> operation may usually work most of the time, but may fail at certain times if you don't also check for this, too. -Dan ___________________________ Disclaimer Notice __________________________ This message and any attachments are confidential and should only be read by those to whom they are addressed. If you are not the intended recipient, please contact us, delete the message from your computer and destroy any copies. Any distribution or copying without our prior permission is prohibited. Internet communications are not always secure and therefore Powergen Retail Limited does not accept legal responsibility for this message. The recipient is responsible for verifying its authenticity before acting on the contents. Any views or opinions presented are solely those of the author and do not necessarily represent those of Powergen Retail Limited. Registered addresses: Powergen Retail Limited, Westwood Way, Westwood Business Park, Coventry, CV4 8LG. Registered in England and Wales No: 3407430 Telephone +44 (0) 2476 42 4000 Fax +44 (0) 2476 42 5432