I hate it when that happens (I consider it a major failing of DRM). 1) use Autovault instead, you tell it the max number of tapes to eject and it won't go over. (It can't tell, however, if some of your 10 slots are already full before it starts, it just counts to 10).
2) Write your own script (host language, not TSM) that does a Q DRMEDIA, parses the results and ejects 10 tapes at a time (what are you using now for scripting, perl?) 3) out of curiosity, if you don't have tapeutil, do you have mtlib? You must have something installed with the LTO drivers? -----Original Message----- From: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED] On Behalf Of Mark Bertrand Sent: Tuesday, November 16, 2004 9:21 AM To: [EMAIL PROTECTED] Subject: query bulk i/o Has this been resolved yet, in any version? There are a few posts about this issue but I can't seem to find resolution. My basic problem is that I want to write a script that removes export tapes but I don't want it to run if the bulk I/O is full. Funny, I can checkin tapes search=bulk so I know TSM knows the meaning of bulk, why can't I "query bulk"? I also struggle with daily DRM moves that will sometimes go over my allotted 10 I/O and leave tapes for me to find in the system, joy, joy. Nice add-on for "untilfull", but not a viable solution. I just want a way to see if any tapes are in the bulk I/O, is that too much to ask??????? TSM Server 5.1.6.3 Windows 2K (this means I don't have tapeutil, AIX guys) IBM 3584 Library Thanks, Mark Bertrand