Entering content frame

 Calling the Database Manager CLI 

Use

DBM options with a maximum of one DBM command can be transferred when the Database Manager CLI program is called.

Additional parameters can be specified for DBM options. The description of each DBM option explains which parameters are possible.

Additional command options can be specified for the DBM command. The description of each DBM command explains which command options are possible.

There is input help available for the DBM commands.

For information about the format of the return values for DBM commands, see Reply Format.

Syntax

dbmcli [<dbm_options>] [<dbm_command> [command_options]]

If you use DBM options in conjunction with parameters, mark the beginning of the next DBM command with the option –c (Indicator as DBM Command: -c).
By doing so, you avoid the Database Manager program interpreting the beginning of the DBM command as a parameter of the previously specified DBM option.

Example

Log on to the Database Manager CLI as operator DBM with password DBM, display the contents of the customersdatabase table of the database instance HOTELDB without explicitly specifying an operator (the Database Manager uses the data of the DBM operator currently logged on):

dbmcli –d HOTELDB –u DBM,DBM –uSQL -c sql_execute SELECT * FROM customers

 

 

Leaving content frame