To create a new database instance, you need to set up a connection between the Database Manager and the DBM Server. The DBM Server must have the software version for which you want to create this new database instance. To set up the connection, you use the Java method DBM.dbrootDBM.
To execute the DBM command that creates a database instance, you need the rights of an operating system user for the computer on which you want to create the database instance.
To create a database instance on a remote server running Microsoft Windows, you must also have administrator authorizations for the database server and the log on as batch job authorization. For information about administrating operating system users, see your operating system documentation.
To display the paths and versions of software installed on your computer, you enter dbmcli db_enum in the command field.
import com.sap.dbtech.powertoys.*;
…
<lvalue> = DBM.dbrootDBM (<database_computer>, <dependent_path>);
Parameter |
Description |
<lvalue> |
Expression of the DBM class (such as a variable) to which a value can be assigned |
<database_computer> |
Name of the database computer If you want to connect to a DBM Server on the local computer, you can specify the value null. |
<dependent_path> |
Installation path of the version-specific database software If you specify the value null, then the connection to the DBM server is established with the highest version number. |
See also: