When you call the Database Manager CLI, you can enter DBM options and a maximum of one DBM command.
You can enter additional parameters for DBM options. The parameters are explained in the description of the respective DBM option.
If you use DBM
options with parameters, mark the beginning of the following DBM command with
the option –c (Indicate as DBM
Command: -c).
By doing so, you prevent the Database Manager program from interpreting the
beginning of the DBM command as a parameter of the previous DBM
option.
You can also enter additional command options for the DBM command. These command options are explained in the description of the respective DBM command.
Input help is provided for long DBM commands.
For information about the format of the return values for DBM commands, see Reply Format.
>dbmcli [<dbm_options>] [<dbm_command> [command_options]]
Entering DBM Options with Parameters and a DBM Command
Log on to the Database Manager CLI as operator OLEG with password MONDAY, connect to the DEMODB database instance on the remote computer PARMA, display the operational state of the database instance:
>dbmcli –u OLEG,MONDAY –d DEMODB –n PARMA db_state
OK
State
ONLINE
Entering a DBM Option without Parameters and a DBM Command
...
Call the Database Manager CLI, log on as operator OLEG with password MONDAY, connect to the database instance DEMODB on the local computer, start the backup operation using the backup template DemoDataCompl
Open the utility session with the operator data of the first DMB operator. You therefore enter the option for opening the utility session without parameters. You must indicate the DBM command for starting the backup operation with –c:
>dbmcli -u OLEG,MONDAY -d DEMODB –uUTL –c backup_start DemoDataCompl
OK
Returncode 0
Date 20060418
Time 00131245
Server GENUA
Database DEMODB
Kernel Version Kernel 7.6.00 Build 016-123-109-428
...
...