Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Query library?

Status
Not open for further replies.

Noor2000

Technical User
Joined
May 23, 2004
Messages
78
Location
CA
Hi all,
Every time I want to know how many tapes I have in my library, I put: q libv, I got the list and then I have to count, the same issue if I want to know how many tapes have a special state (mountable, Scratch..). Is there a way when we put q libv(for example) to get a summary at the end of the list like 25 tapes.
Any idea
Thanks
Noor(technicalUser)
 
Pipe the results to a text file and then do: more filename | wc -l
 
I find it, It is almost the same I do find /c
I try it It works
Thank you
 
from dsmadmc...
select count(*) from libvolumes
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top