ADSM-L

TSM Script

2002-03-19 10:41:27
Subject: TSM Script
From: Tony Jules <Tony.Jules AT OLYMPUS DOT COM>
Date: Tue, 19 Mar 2002 10:24:41 -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.

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?

Thank you



Tony Jules
ITS / Olympus America Inc.
631-844-5887
tony.jules AT olympus DOT com
<Prev in Thread] Current Thread [Next in Thread>