Entering content frame

Procedure documentation Connecting to the DBM Server of an Existing Database Instance Locate the document in its SAP Library structure

Use

To manage an existing database instance using Java, you need to connect to the DBM Server that matches the software version of this database instance. Use the DBM.dbDBM Java method for this.

This method is similar to the procedure for opening a DBM Server session
(
dbmcli -n <database_server> -d <database_name>).

See also: Connecting to the Database Manager

When executing DBM commands, proceed as described under Executing DBM Commands with Java.

Syntax

import com.sap.dbtech.powertoys.*;

<lvalue> = DBM.dbDBM (<database_server>, <database_name>);

 

See also:

Example for Displaying the Operational State of a Database

 

 

Leaving content frame