You can do a upd vol * acc=readw whereacc=unavail or upd vol * acc=readw whereacc=reado
Dwight E. Cook Software Application Engineer III Science Applications International Corporation 509 S. Boston Ave. Suite 220 Tulsa, Oklahoma 74103-4606 Office (918) 732-7109 -----Original Message----- From: Ron Lochhead [mailto:RLochhead@;CSE-INSURANCE.COM] Sent: Tuesday, November 12, 2002 2:52 PM To: [EMAIL PROTECTED] Subject: How to write script to automate TSM 5.11 I am attempting to find out how to write scripts for TSM 5.11 in an Win 2k environment to automate the various commands during a backup. Currently, I am using the command line to access the TSM server thru my workstation. What I want to do is write a script for instance, "q vol * access=unavailable" which an operator could type one command and get results of which vols need to be updated. Then that output file would be the input for the "upd vol [volname] access=readwrite". If anyone has written that or knows where I can go to find out that info, I would appreciate it. Thanks, Ron Lochhead