Using the vmquery command you can determine which tapes are scratch.
/usr/openv/volmgr/bin/vmquery -a -w | awk ‘$20==”00\/00\/0000″ {print $1}’
Depending on the OS of the server you run this on, you may need to substitute awk with nawk.

Using the vmquery command you can determine which tapes are scratch.
/usr/openv/volmgr/bin/vmquery -a -w | awk ‘$20==”00\/00\/0000″ {print $1}’
Depending on the OS of the server you run this on, you may need to substitute awk with nawk.