Background documentationdbm_getpath Locate this document in the navigation structure

 

Use this command to display the software directories of SAP MaxDB on the database computer.

Prerequisites

You do not need to log on to Database Manager to execute this DBM command. Nor do you require any server permission.

Structure

dbm_getpath [-s][<path_ID>]

<path_ID>:: = ClientProgPath | GlobalProgPath | InstallationPath | DataPath | GlobalDataPath

Options

Option

Description

-s

Forces the DBMCLI client to connect to the DBM server of this installation.

If you do not specify the -s option, the DBMCLI client connects to the DBM server of the highest available server installation on this computer. The information displayed then refers to this DBM server.

<path_ID>

ID of the path to be displayed

If you do not specify a <path_ID>, all installation paths are displayed.

Possible values are:

ClientProgPath | GlobalProgPath | InstallationPath | DataPath | GlobalDataPath

ClientProgPath: path where the client programs are stored (SQLCLI, DBMCLI and others), corresponds to the Installation Path in isolated installations (from version 7.8)

GlobalProgPath: path where the installation tools are stored

InstallationPath: path where the database server software and client software of an installation are stored

DataPath: data path actually used by the installation (If a private data path was defined during installation, it corresponds to the PrivateDataPath, otherwise to the GlobalDataPath.)

GlobalDataPath: parameter and log files of the SAP MaxDB installations

Result

OK

ClientProgPath=...

GlobalProgPath=...

InstallationPath=...

DataPath=...

GlobalDataPath=...

Example

Call Database Manager CLI, display the global data path where the parameter and log files of the SAP MaxDB installations are stored:

>dbmcli dbm_getpath globaldatapath

OK

C:\sdb\data

More Information

Glossary, Directory