You display the version information of the Database Manager. Since the version of the DBM Server is always the same as the version of the database software, this is how you can also determine the version of the database software.
You do not need to log on to the Database Manager to execute this DBM command.
Nor do you require any server authorization.
dbm_version
OK
VERSION =
<version>
<NL>
BUILD =
<build_number>
<NL>
OS =
<os>
<NL>
INSTROOT =
<dependent_path>
<NL>
LOGON = <logon_state>
<NL>
CODE
= <code><NL>
SWAP
= <swap><NL>
UNICODE =
(YES|NO)<NL>
INSTANCE =
(OLTP|LVC|CS|BW|unknown)<NL>
SYSNAME =
<os><NL>
VERSION |
Version number of the Database Manager |
BUILD |
Identification number of the Database Manager |
OS |
Name of the operating system |
INSTROOT |
Installation directory of the version-dependent components |
LOGON |
Displays whether a
logon to the operating system has been performed: |
CODE |
Display of the character set used in the Database Manager: ASCII or EBCDIC |
SWAP |
Displays of the
swap type (internal representation of numerical values) used in the Database
Manager : |
UNICODE |
Configuration of the current database instance as a UNICODE database |
INSTANCE |
|
SYSNAME |
Name of the operating system |
In the event of errors, see Reply Format.