A sample usage for this API is in sqllib\samples\c\tablespace.sqc
Originally posted by dollar489
Is there a simple way in DB2 UDB to get information about tablespaces in terms of free space, used space etc. I have some scripts written in UNIX which extract data from:
db2 list tablespaces
command but it is tedious. Is there any other way?