... another solution could be running the commands from a shell script.
But this would imply calling dsmadmc for each command -
#!/bin/ksh
dsmadmc -id=xxx -pass=xxx upd vol ......
echo "Shall we continue?"
read response
[ "$response" != "Y" ] && exit
dsmadmc -id=xxx -pass=xxx upd vol ......
echo "Shall we continue?"
What do you think?
I'd suggest putting this question into the TSM zone, too.
There might be someone with a better idea ...
wmp





by: woolmilkporcPosted on 2008-12-04 at 08:16:34ID: 23096640
Hi,
since you set ALL volumes in the stgpool to readonly, why not set the stgp itself readonly? Or is it a NEXTSTGPOOL?
upd stgp [name] acc=reado
Since scripts are meant to run unattendedly, there is no switch to force a response.
Even the delete commands which require confirmation when run intreractively complete without asking questions when called from within a script.
But, what do you mean exactly with 'stepped on'?
Perhaps we can find another solution.
wmp