Background documentation Database Manager CLI Locate the document in its SAP Library structure

The Database Manager 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 perform 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 performed regularly.

If you do not have a host with a Windows operating system, you can only use the clients Database Manager CLI and Web DBM to manage database instances.

Call

dbmcli [<options>] [<command>]

You can transfer options and a maximum of one DBM command 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 server, you must also enter this server name (option –n <database_server>).

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, enter option -i <file_name> in addition to the required options.

See also:

Database Manager CLI: SAP DB 7.4, section Structure linkFunctions of the Database Manager CLI