Hello everyone every month I have to run the command "GENERATE BACKUPSET RWEXCH1AH21 LGL052012 Devclass=ltodev toc=preferred wait=no retention=nolimit" to run our monthly legal hold backup of our exchange servers. Im trying to automate this process by using a script but I need some help. I would need to change LGL052012 to the previous month and year everymonth before I run the backup so TSM knows to backup the previous month. Also how can I get these tapes that it dos the backup to to eject automatically when done. Thanks everyone for your help