Re: How to write script to automate TSM 5.11
You can do a
upd vol * acc=readw whereacc=unavail
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
From: Ron Lochhead [mailto:RLochhead AT CSE-INSURANCE DOT COM]
Sent: Tuesday, November 12, 2002 2:52 PM
To: ADSM-L AT VM.MARIST DOT EDU
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.