9.1.1 Starting DBMCLI

You can start DBMCLI from the operating system command line on the database server that you want to manage or remotely from a network-attached client using Secure Shell (SSH). The command-line syntax is as follows:

dbmcli [-n] [-m] [-x] [ --xml | --json ] [ -e command ]

The following table lists the options that can be used with the DBMCLI command:

Option Description

-n

Runs the DBMCLI utility in non-interactive mode. This option suppresses the command prompt and disables the command-line editing features.

-m

Runs DBMCLI in monitor (read-only) mode.

-x

Suppresses the banner.

--xml

Displays output in XML format.

--json

Displays output in JSON format.

-e command

Runs the specified DBMCLI command. For example:

$ dbmcli -e list dbserver detail
$ dbmcli -e "list dbserver attributes name where name like '.*dbm01'"

DBMCLI exits after running the command.

DBMCLI uses the database server operating system authentication. DBMCLI does not have a login parameter or a connect command. The directory from which DBMCLI is invoked is the default directory for unqualified file access in DBMCLI SPOOL and START commands.