Eric,

I too would to like a similar script.

In the mean time I run a admin. scheduled  task( mainly to cancel
offsitetape reclamation) at 5.00 hrs. in the morning.

SCHEDULE  KILL_COPYTAPEPOOL_RECL  TYPE=ADMIN CMD="cancel
                          process 31" ACTIVE=YES PRIORITY=5
STARTDATE=09/16/2004
                          STARTTIME=05:00:00 DURATION=15 DURUNITS=MINUTES

                          PERUNITS=ONETIME DAYOFWEEK=ANY
EXPIRATION=09/16/2004

I start a reclamation and before I go home I update the schedule:  'CMD'
with the process I want to cancel,
'STARTDATE'  and 'EXPIRATION'


Bill








"Loon, E.J. van - SPLXM" <[EMAIL PROTECTED]>
Sent by: "ADSM: Dist Stor Manager" <[EMAIL PROTECTED]>
16/09/2004 12:33
Please respond to "ADSM: Dist Stor Manager"


        To:     [EMAIL PROTECTED]
        cc:
        Subject:        Script


Hi *SM-ers!
I'm trying to create a script which does the following:
1) query the server for any running reclamation
2) retrieves the process id for this reclamation
3) cancels the reclamation
4) starts a backup storage pool
Can this be done in one script? If so, how do I put the process id in a
variable which I can parse to the cancel command?
Thank you very much for any reply in advance!!
Kindest regards,
Eric van Loon
KLM Royal Dutch Airlines


**********************************************************************
For information, services and offers, please visit our web site: http://www.klm.com. 
This e-mail and any attachment may contain confidential and privileged
material intended for the addressee only. If you are not the addressee,
you are notified that no part of the e-mail or any attachment may be
disclosed, copied or distributed, and that any other action related to
this e-mail or attachment is strictly prohibited, and may be unlawful. If
you have received this e-mail by error, please notify the sender
immediately by return e-mail, and delete this message. Koninklijke
Luchtvaart Maatschappij NV (KLM), its subsidiaries and/or its employees
shall not be liable for the incorrect or incomplete transmission of this
e-mail or any attachments, nor responsible for any delay in receipt.
**********************************************************************

Reply via email to