ADSM-L

Re: How to write script to automate TSM 5.11

2002-11-12 16:36:12
Subject: Re: How to write script to automate TSM 5.11
From: "Rushforth, Tim" <TRushfor AT CITY.WINNIPEG.MB DOT CA>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Tue, 12 Nov 2002 15:33:20 -0600
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 AT CSE-INSURANCE DOT COM]
Sent: 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.

Thanks,
Ron Lochhead

<Prev in Thread] Current Thread [Next in Thread>