Santiago videla
asked on
how to calculate the total amount of data on the storage pools TSM
Hi everyone.
i need to calculate the total amount of data residing on my tsm storage pools and the % of data on the tape volumes.
Thanks in advance.
i need to calculate the total amount of data residing on my tsm storage pools and the % of data on the tape volumes.
Thanks in advance.
ASKER
max,
i got two tsm environment, same version but differrent sizes. in the small one the command worked perfect but in the big one i got the following warning:
ANR0162W Supplemental database diagnostic information: -1: 22003: -413 ([IBM] [CLI Driver] [DB2 / NT64] SQL0413N An overflow occurred during numeric data type conversion.
) .STATE = 22003
looks like the amount of data to process is too big. am i right?
please can you help me with this?
thanks in advance!!!!
i got two tsm environment, same version but differrent sizes. in the small one the command worked perfect but in the big one i got the following warning:
ANR0162W Supplemental database diagnostic information: -1: 22003: -413 ([IBM] [CLI Driver] [DB2 / NT64] SQL0413N An overflow occurred during numeric data type conversion.
) .STATE = 22003
looks like the amount of data to process is too big. am i right?
please can you help me with this?
thanks in advance!!!!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
max thanks both qerys worked just perfect!!!!
this one will tell you the total amount in GB of your pools, and an estimate on both average occupation of each tape and maximum:
SELECT stgpool_name AS "Storage Pool ", CAST(COUNT(*) as DECIMAL(6,0)) AS "Volumes", CAST(SUM(est_capacity_mb/1
hope this helps
max