Yes, you can put this in a file and call it like a macro or define a script
similar to this one I run.

I call it Q_LIBSPACE

define script q_libspace "select volume_name, stgpool_name, pct_utilized
from volumes where volume_name in (select volume_name from libvolumes)"
description='Query Library Space'

You execute the script by:


run q_libspace


It will not show Database Backup volumes or others not in the volume table.

Bill Slaughter
Tupperware


-----Original Message-----
From: Stephen A. Cochran [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 17, 2001 1:58 PM
To: [EMAIL PROTECTED]
Subject: Macros/scripting


I'm still fairly new to ADSM, so bear with me here : )

I'm using ADSM 3.1 server

I want to create a macro which does a 'q volume', but only on the volumes in
the
library currently (the ones listed with 'q libv').

Is there an easy way to do this?

Steve Cochran
Dartmouth College

Reply via email to