Checking the Status of Loaded Databases (lkt_dblist)
The following command returns a list of lists of database statistics one list per database specified.
dvkerr_t lkt_dblist( lpar_t host, lpar_t names, lpar_t *dbstatlists );
Input
host (optional)
This is used to identify the server. For more information, see Communicating with TIBCO Patterns Servers
names (optional)
is a list of database names (LPAR_STR_DBDESCRIPTOR's) of existing loaded databases. It is an error (DVK_ERR_DBNOTFOUND) if any of these databases do not exist.
A value of LPAR_NULL might be supplied for names. This causes statistics lists for all currently loaded databases to be returned.
Output
dbstatlists (required)
is the list of statistics lists. Each list is similar to that returned by the lkt_dbload command.
Error codes and items returned by lkt_dblist
|
DBNOTFOUND |
list of names of nonexistent databases |
|
EXPECTDBDESC |
item that should have been a database name |
|
EXPECTLIST |
item that should have been a list |
|
FEATURESET |
(none) |
|
INTERNAL |
Varies |
|
NODBDESC |
(none) |
|
NOSYSINIT |
(none) |