Show TOC

dbm_getpathLocate this document in the navigation structure

Use

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

Note

In a pure client installation, use the DBM option -s: Displaying Client Information for this command.

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 [<path_ID>]

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

Option

Description

<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