Re: AUDIT VOL with WAIT=YES ?

2012-11-09 Thread Loon, EJ van - SPLXM
DSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Roger Deschner Sent: vrijdag 9 november 2012 4:34 To: ADSM-L@VM.MARIST.EDU Subject: Re: AUDIT VOL with WAIT=YES ? I wound up using Alex Paschal's method - thanks! I am not worried (yet!) about damaged files. There are probably

Re: AUDIT VOL with WAIT=YES ?

2012-11-08 Thread Roger Deschner
I wound up using Alex Paschal's method - thanks! I am not worried (yet!) about damaged files. There are probably very few of them anyway. I am only doing a FIX=NO audit to see where the problems are. I'm capturing the results by Q ACTLOG ... SEARCH='PROCESS: ' and parsing msg ANR4133I for the

Re: AUDIT VOL with WAIT=YES ?

2012-11-07 Thread Loon, EJ van - SPLXM
d regards, Eric van Loon Royal Dutch Airlines -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Roger Deschner Sent: woensdag 7 november 2012 0:18 To: ADSM-L@VM.MARIST.EDU Subject: AUDIT VOL with WAIT=YES ? Does anybody have a script or program that

Re: AUDIT VOL with WAIT=YES ?

2012-11-06 Thread Alex Paschal
Hi, Roger. I don't have one already made, but this should get you started. Hopefully there won't be too many typos. #!/usr/bin/ksh dsmadmc -id=id -pa=pa audit vol /path/file1 sleep 10 while dsmadmc -id=id -pa=pa -comma q pr | grep -qi audit ; do sleep 10 done dsmadmc -id=id -pa=pa update vol

AUDIT VOL with WAIT=YES ?

2012-11-06 Thread Roger Deschner
Does anybody have a script or program that can issue a TSM AUDIT VOLUME command and wait for it to finish - as though WAIT=YES existed? I keep getting r/o vols in my DEVCLASS FILE storage pools. I want to audit them before changing them back to r/w. I want an automatic process to do that, one at a