## dbm_version

### Use

You display the version information of the Database Manager. By specifying options, you can limit the display of version information.

Since the version of the DBM Server and therefore the Database Manager program are always the same as the version of the database software, you can also determine the version of the database software in this way.

See also:

Database Administration Tutorial, Displaying Information About Installed Software and Database Instances

Concepts of the Database System, Version Notation

### Prerequisites

You do not need to log on to the Database Manager to execute this DBM command.

Nor do you require any server authorization.

### Syntax

dbm_version [<detail>]>

Option

Option | Description

<detail>

Part of the version information. Possible values are:

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: Indication whether an operating system logon has taken place

code: Character set used in the Database Manager

swap: Swap type used in the Database Manager

Unicode: Character set used by the database catalog

instance: Type of the database system

sYSNAME: Name of the operating system

### Reply

OK

VERSION = <version>

BUILD = <build_number>

OS = <os>

INSTROOT = <dependent_path>

LOGON = <logon_state>

CODE = <code>

SWAP = <swap>

UNICODE = (YES|NO)

INSTANCE = (OLTP|LVC|unknown)

SYSNAME = <os>

Values for the Reply Fields

Field | Description
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: True logged on False not logged on
CODE | Character set used in the Database Manager, possible values are ASCII or UTF8
SWAP | Output of the swap type used in the Database Manager (internal representation of numeric values): no hihi-hilo-lohi-lolo full lolo-lohi-hilo-hihi half lohi-lolo-hihi-hilo
UNICODE | Character set used by the database catalog. Possible values are: yes: UNICODE no: ASCII
INSTANCE | Type of database system. Possible values are: OLTP: MaxDB instance LVC: liveCache instance unknown: The instance type cannot be determined.
SYSNAME | Name of the operating system

In the event of errors, see Reply Format