Re: Way to do comparison in a TSM script?
2003-11-13 16:09:18
Try:
select count(*) from sessions having count(*)<5
if(RC_NOTFOUND) goto notfound
exit
notfound: do something here...
exit
You can even add a WHERE clause to further refine the type of sessions
you're looking to 'count'.
Bill Boyer
DSS, Inc.
-----Original Message-----
From: ADSM: Dist Stor Manager [mailto:ADSM-L AT VM.MARIST DOT EDU]On Behalf Of
Paul Zarnowski
Sent: Thursday, November 13, 2003 3:30 PM
To: ADSM-L AT VM.MARIST DOT EDU
Subject: Way to do comparison in a TSM script?
Is there a way to do a comparison in a TSM script?
Specifically, I want to run code conditionally based on how many sessions
are active (for example). I don't see an immediately obvious way to do
this.
Thanks.
..Paul
|
|
|