I don't know ...........copies take a long time If you have a copy pool you can do a select to generate a list and then: - check them out -mark them destroyed - execute a restore stgpool, assuming your copypool volumes are in a library
But below is an outline for what you want to do a script that assembles something like: dsmcmd: dsmadmc -id=admin -pa=password -displaymode=table $1 *------------------------------------------------------------------------------------- 1). Generate a list of volumes dsmcmd "select volume_name from volumes where stgpool_name='STGPOOLNAME' AND access='READONLY'" > SQLTEST} grep "^[000] " SQLTEST > VOLLIST OFFSITEVOLS < VOLLIST 2) Use list generated to do copies as in the example below to check them out 3). CHeck them out { OFFSITEVOLS () while read volname; do echo "found a vol to checkout: " $volname /home/root/dsmcmd "CHECKO LIBV <libname> $volume " /home/root/dsmcmd "UPDATE VOL $volume ACC=offsite" done } 4) Send email of list copied and checked out. >>> [EMAIL PROTECTED] 11/30/2004 3:10:12 PM >>> I am attempting to create a script with little success for taking our LTO tapes that are in read only status and moving the data to other tapes in the same storage pool, then sending an e mail to a human for the tape to be removed from the library. Does anyone currently have a script that does this? An internet search has proved unfruitful and multiple attempts on my part have proved so as well. I have TSM Server version 5.2.1.1 and the OS is AIX 5.1. Thanks, Andrew ******************************************** This message is intended only for the use of the Addressee and may contain information that is PRIVILEGED and CONFIDENTIAL. If you are not the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please erase all copies of the message and its attachments and notify us immediately. Thank you. ********************************************