ADSM-L

Counting Offsite tapes

1996-12-20 13:28:25
Subject: Counting Offsite tapes
From: Dave Cannon <dcannon AT VNET.IBM DOT COM>
Date: Fri, 20 Dec 1996 10:28:25 PST
>I am able to tell how many tapes are in use in my on-site tape pool by
>issuing a Q STG tapepool F=D in a daily Rexx routine.  I take the
>%MIGR field and multiply by the MAXSCRATCH value, and this gives me the
>number of tapes in use.  My question is:  How can I tell how many tapes
>are in use in my OFFSITE pool?  I ran out the other day because I have
>not figured out a way to report this.  When I issue the same query
>against this offsite tapepool, the %MIGR field is blank.  Is there a
>way around this?

Take a look at the Query Volume command.  For example, you might do
something like the following

query volume * status=pending,filling,full stgpool=poolname

This will work for primary or copy storage pools.

Dave Cannon
ADSM Development
<Prev in Thread] Current Thread [Next in Thread>