You specify to which database Database Manager should connect.
The name specified is valid for the entire session. All database-specific DBM commands relate to this database.
When a session is started, the system checks whether the specified database is registered in the list of registered databases on the database computer. If this is not the case, then the session is refused.
The database specified is available and registered in Database Manager.
-d <database_name>
Option |
Description |
---|---|
<database_name> |
Name of the database |
Log on to Database Manager CLI as operator OLEG with the password MONDAY, connect to the database DEMODB, and display the operational state of the database:
>dbmcli -u OLEG,MONDAY -d DEMODB db_state
OK
ONLINE