Fetches a specified number of rows of table space container query data, each row consisting of data for a container.
In a partitioned database environment, only the table spaces on the current database partition are listed.
Database
sqlutil.h
SQL_API_RC SQL_API_FN
sqlbftcq (
struct sqlca * pSqlca,
sqluint32 MaxContainers,
struct SQLB_TBSCONTQRY_DATA * pContainerData,
sqluint32 * pNumContainers);
SQL_API_RC SQL_API_FN
sqlgftcq (
struct sqlca * pSqlca,
sqluint32 MaxContainers,
struct SQLB_TBSCONTQRY_DATA * pContainerData,
sqluint32 * pNumContainers);
The user is responsible for allocating and freeing the memory pointed to by the pContainerData parameter. This API can only be used after a successful sqlbotcq call. It can be invoked repeatedly to fetch the list generated by sqlbotcq.