On Feb 2, 9:37*pm, Lennart Jonsson <erik.lennart.jons... (AT) gmail (DOT) com>
wrote:
Quote:
On 2011-02-02 15:56, kavin wrote:
when i execute get_dbsize_info to find the size of a database it is
giving output as -1. Can anyone, please help me out how to resolve
this issue?
What version of db2, how did you call the procedure and what is the output?
/Lennart |
i had used 2 commands
1) db2 "call get_dbsize_info (?,?,?,-1)"
output is
Value of output parameters
--------------------------
Parameter Name : SNAPSHOTTIMESTAMP
Parameter Value : 2011-02-02-08.16.04.580034
Parameter Name : DATABASESIZE
Parameter Value : -1
Parameter Name : DATABASECAPACITY
Parameter Value : -1
Return Status = 0
2) db2 "select * from SYSTOOLS.STMG_DBSIZE_INFO"
output is
SNAPSHOT_TIMESTAMP DB_SIZE DB_CAPACITY
-------------------------- -------------------- --------------------
2011-02-02-08.16.04.580034 -1 -1
db2 version is DB2 v9.1.0.9