Re: How to write script to automate TSM 5.11
Ron, the short answer to your question is "TSM server has scripting abilities". The long one might be like an essay or closer to a novel (depending on the answering person). I prefer to write scripts even for simple things like "select current_date,current_time from db" (my favorite datetime script). Later "run
Re: How to write script to automate TSM 5.11
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
Re: How to write script to automate TSM 5.11
This probably doesn't answer your question but if you want to update ALL volumes that are unavailable just do: Update volume * access=readwrite where access=unavailable. -Original Message- From: Ron Lochhead [mailto:RLochhead@;CSE-INSURANCE.COM] Sent: 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
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