Function documentationcom.sap.dbtech.powertoys.DBM.dbrootDBM Method Locate this document in the navigation structure

 

This method of the com.sap.dbtech.powertoys.DBM class is used for connecting your Java application to the DBM server of a specific SAP MaxDB software version.

Caution Caution

Only use this method if you want to create a new database with your Java application.

To execute other DBM commands, use the com.sap.dbtech.powertoys.DBM.dbDBM method to connect to the database.

End of the caution.

Prerequisites

  • You have access to the computer on which you want to create the new database.

  • On Microsoft Windows, you additionally need administration rights and the Log on as batch job right on that computer.

Features

Syntax Syntax

  1. public static DBM dbrootDBM(String database_computer, String dependent_path)
    	throws
    		com.sap.dbtech.rte.comm.RTEException
End of the code.
com.sap.dbtech.powertoys.DBM.dbrootDBM Method: Parameters

Name

Description

database_computer

Name of the database computer

To connect to a DBM server on the local computer, enter the value null.

dependent_path

Path of the database software in the desired version

To connect to the DBM server with the highest software version, enter the value null.

To display the paths and versions of software installed on your computer, enter the following command in the command line:

dbmcli db_enum

Exceptions

Class

Description

com.sap.dbtech.rte.comm.RTEException

See Error Handling (DBM Java Classes)