The Database Manager operator (DBM operator) specified using <user_name> 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 together with the logon.
You can first open the session with the DBM Server and then log on to the Database Manager in a second step.
dbmcli – d <database_name> [-n <database_server>]
Logging On to the Database Manager
user_logon <user_name>,<password>
Using the option –u | -U, you can perform both logon steps at the same time. The Database Manager implicitly executes the DBM command user_logon.
dbmcli -u [<user_name>,<password>] –d <database_name>
or logon with XUSER: dbmcli -U [<user_key>] –d <database_name>
· -u: explicit specification of the DBM operator identified with <user_name> and <password>
If you use –u without specifying <user_name>,<password>, the Database Manager prompts you to enter the operator name and password. In this way you can avoid the operator password being visible in the command line, command history, and the operating system process list.
· -U: Logging on with a user stored in the XUSER file
If you do not specify a <user_key> when using –U, the Database Manager uses the data under the DBMUSRXUSER key.
You can store operator details for various tasks with the help of the program XUSER and use them for logging on.
Note the different meanings of the command with uppercase and lowercase specification.
See also: Using XUSER
The system displays an OK message.
In the event of errors, see Reply Format.