To roughly generate a TSM macro file to vary on any stgpool volumes
which are found to be offline, you can do like:
SELECT 'VARY ONLINE' as " ", -
VOLUME_NAME from VOLUMES where -
VOLUME_NAME like '/%' and STATUS='OFFLINE' > /tmp/tsmfile
Tailor per your site.
Remove column headers from the file, then run as a macro, if anything
viable in it.
Richard Sims
|