IBM Books

Database Name


Snapshot Information Level
Database
Application
Table Space
 
Table
Lock
DCS Application

API Structure(s)
sqlm_dbase
sqlm_appl_id_info
sqlm_tablespace_header
sqlm_bufferpool
sqlm_table_header
sqlm_dbase_lock
sqlm_dcs_applinfo

Monitor Group
Basic
Basic
Buffer Pool
Buffer Pool
Table
Basic
Basic

Resettable

No

 
Event Information Level
Database

API Structure(s)
sqlm_dbheader_event

 
API Element Name
Element Type

db_name
information

 

Description:  The real name of the database for which information is collected or to which the application is connected. This is the name the database was given when created.

Usage:  You may use this element to identify the specific database to which the data applies.

For applications that are not using DDCS to connect to a DRDA host database, you can use this element in conjunction with the "Database Path" monitor element to uniquely identify the database and help relate the different levels of information provided by the monitor.

If you are using the database system monitor APIs, note that the API constant sqlm_ident-sz is used to define the length of this element. Only the first 8 characters are currently used for DB2 databases, and the first 18 characters are used for DRDA host databases.

[ Top of Page | Table of Contents | Glossary | Index ]

[ DB2 List of Books | Search the DB2 Books ]