The specified database manager operator (DBM operator) logs on to the database manager program.
For local communication, the operator is already logged on to the operating system.
Logging on to the database manager requires a session with the DBM server. You can open this session before logging on to the database manager or at the same time as logging on.
You can first open the session with the DBM server and then log on to the database manager.
dbmcli – d <database_name> [-n <database_server>]
Logging on to the database manager:
user_logon <dbm_user>,<password>
Using the DBM option –u | -U, you can perform both logon steps at the same time. The database manager implicitly executes the DBM command user_logon.
Note the different meanings of the command with uppercase and lowercase specification.
dbmcli -u [<dbm_user>,<password>] –d <database_name>
· -u: explicit specification of the DBM operator identified with <dbm_user> and <password>
Calling the database manager CLI as DBM operator OLEG with password MONDAY, logging on to the database instance HOTELDB, querying the operational state of the database instance:
dbmcli –u OLEG,MONDAY –d HOTELDB db_state
dbmcli -U [<user_key>] –d <database_name>
· -U: logon with a user stored in the XUSER file
You can use the XUSER program to store sets of user data under key names and use them when logging on. XUSER keys for DBM operators can be used successfully only if the DBM operators stored in them have actually been created for the database instance in question (see also: Creating DBM Operators).
If you do not specify a <user_key> when using –U, the database manager attempts to use the data under the DBMUSR XUSER key. We therefore recommend you create an XUSER entry with the key name DBMUSR and the data of the first DBM operator (see also: Creating or Changing XUSER Entries).
Calling the database manager CLI as the DBM operator under the key name OLKEY, logging on to the database instance HOTELDB, querying the operational state of the database instance:
dbmcli –U OLKEY –d HOTELDB db_state
The system displays an OK message.
In the event of errors, see Reply Format.