Rigido
ADSM.ORG Senior Member
Hi,
I wrote a little select to find no-readwrite volumes:
So we can update volume to readonly and try a move data.
The problem is with big volumes (like LTO6): volume was utilized 0.0 but move data moved more than 1 million files for 900MB...and still going.
I would like to add a column with the number of files for each volume, but can't find a select to count files!
Can someone help me?
Thanks.
I wrote a little select to find no-readwrite volumes:
Code:
select -
rpad (VOLUME_NAME,15) as VOLUME_NAME, -
rpad (STGPOOL_NAME,25) as STGPOOL_NAME, -
rpad (ACCESS,15) as ACCESS, -
PCT_UTILIZED, -
PCT_RECLAIM -
from VOLUMES -
where ACCESS<>'READWRITE' and ACCESS<>'OFFSITE'
The problem is with big volumes (like LTO6): volume was utilized 0.0 but move data moved more than 1 million files for 900MB...and still going.
I would like to add a column with the number of files for each volume, but can't find a select to count files!
Can someone help me?
Thanks.