select cmd question

2004-10-26 Thread Justin Case
We have a mixed tapes in our 3494 library we have 3590 20Gb tape (shorts)
and we have 3590 extended tapes
and I need to make a count of the 3590 20Gb tapes, my question is there a
select cmd to an mtlib cmd that would
return the count of the 3590 20Gb tape even if they are in use or scratch
tapes ?
Thanks

Justin


Re: select cmd question

2004-10-26 Thread Richard Sims
We have a mixed tapes in our 3494 library we have 3590 20Gb tape (shorts)
and we have 3590 extended tapes
and I need to make a count of the 3590 20Gb tapes, my question is there a
select cmd to an mtlib cmd that would
return the count of the 3590 20Gb tape even if they are in use or scratch
tapes ?

Justin - Issue the mtlib command with '-qI' for volume inventory (short form)
 and examine the value of the last column byte relative to your
/usr/include/sys/mtlibio.h vol_class, or '-vqI' (long form) for descriptions.

  Richard Sims


Re: select cmd question

2004-10-26 Thread Warren, Matthew (Retail)
Hi Justin,

Select mediatype,count(*) from libvolumes group by mediatype


Then.. you will need to know which mediatype is which.

Matt.

_-'-_
  -|-


-Original Message-
From: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED] On Behalf Of
Justin Case
Sent: Tuesday, October 26, 2004 3:10 PM
To: [EMAIL PROTECTED]
Subject: select cmd question

We have a mixed tapes in our 3494 library we have 3590 20Gb tape
(shorts)
and we have 3590 extended tapes
and I need to make a count of the 3590 20Gb tapes, my question is there
a
select cmd to an mtlib cmd that would
return the count of the 3590 20Gb tape even if they are in use or
scratch
tapes ?
Thanks

Justin


___ Disclaimer Notice __
This message and any attachments are confidential and should only be read by those to 
whom they are addressed. If you are not the intended recipient, please contact us, 
delete the message from your computer and destroy any copies. Any distribution or 
copying without our prior permission is prohibited.

Internet communications are not always secure and therefore Powergen Retail Limited 
does not accept legal responsibility for this message. The recipient is responsible 
for verifying its authenticity before acting on the contents. Any views or opinions 
presented are solely those of the author and do not necessarily represent those of 
Powergen Retail Limited. 

Registered addresses:

Powergen Retail Limited, Westwood Way, Westwood Business Park, Coventry, CV4 8LG.
Registered in England and Wales No: 3407430

Telephone +44 (0) 2476 42 4000
Fax +44 (0) 2476 42 5432