User Guide
SAP AG November 2002
Database Manager CLI
The Database Manager [Page 133] has a command-line oriented client, the Database
Manager CLI (DBMCLI). The Database Manager CLI is operating-system-independent.
You can use the Database Manager CLI to carry out all Database Manager actions. You can
also use the Database Manager CLI to schedule these actions in the background. You should
use this option to automate Database Manager actions that have to be carried out regularly.
If you do not have a Windows operating system, you can only use Database Manager clients
Database Manager CLI and Web DBM [Page
154] to manage database instances.
Call
dbmcli [<options>] [<command>]
You can transfer options [Page
61] and a maximum of one DBM command [Page 62] in a
command line to the Database Manager CLI.
For a link to be established with a database instance on the local computer, you must enter at
least the name of the database instance (option -d <database_name>) when calling the
Database Manager CLI. If the required database instance is on a remote computer, you must
also enter this computer name (option -n <server_node>).
You can open an interactive Database Manager CLI session if you do not enter any DBM
commands other than the required options. You can then enter the required DBM commands
interactively.
You can write the required DBM commands to a separate file <file_name>. In this case,
when you call the Database Manager CLI, you can enter option -i <file_name> in addition
to the required options.
See also:
Database Manager CLI: SAP DB 7.3 [See SAP DB Library]
→ Functions of the Database
Manager CLI [See SAP DB Library]
Options (DBMCLI)
A series of options can be transferred to the Database Manager CLI [Page 133] (Database
Manager CLI: SAP DB 7.4, Section Options [See SAP DB Library]).
For a link to be established with the database instance on the local computer, you must enter
at least option -d <database_name>. If you do not enter a DBM command [Page
62] in the
command line when calling the Database Manager, an interactive Database Manager CLI
session is opened.
The following user data as options [Page
31] should be transferred: DBM
operator [Page 134] and the name of the database instance [Page 132] on the
local computer:
dbmcli -u dbmmann,secret -d MK1
The Database Manager is called and a database session is created for the DBM
operator dbmmann, password secret with the registered database instance MK1.
You can then enter the required DBM commands interactively.
User Manual: SAP DB 61










