ADSM-L

Re: TSM Script

2002-03-19 11:19:47
Subject: Re: TSM Script
From: Steve Roder <spr AT REXX.ACSU.BUFFALO DOT EDU>
Date: Tue, 19 Mar 2002 11:17:21 -0500
> I am trying to create a script to find out if the log reaches 80% and
> Expiration is running to cancel the expiration process. My question is how
> do I pass the process number as a parameter and cancel it. My script goes
> like this.

No need to do this with expiration, just issue "can expiration".

>
> select pct_utilized from log where pct_utilized > 80%
>      if (rc_ok) goto claim
> claim: select process, process_num as "Numbrers" from processes where
> process='Expiration'
>      if (rc_ok) cancel process "Numbers"
>
> The second if statement does not work because I can't pass "Numbers" as a
> parameter. What is the best way to do this?
>

Steve Roder, University at Buffalo
HOD Service Coordinator
VM Systems Programmer
UNIX Systems Administrator (Solaris and AIX)
TSM/ADSM Administrator
(spr AT buffalo DOT edu | (716)645-3564 | http://ubvm.cc.buffalo.edu/~tkssteve)
<Prev in Thread] Current Thread [Next in Thread>