Logging On to the Database Manager
Use
The
Database Manager operator specified using <userid> logs on to the Database Manager program.For local communication, the operator is already logged on to the operating system.
Prerequisites
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.Two Step Logon
You can first open the session with the DBM Server and then log on to the Database Manager in a second step.
Opening a DBM Server Sessiondbmcli – d <database_name> [-n <server_node>]
Logging On to the Database Manager
user_logon <userid>,<password>
One Step Logon
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 [<userid>,<password>] –d <database_name>
or logon with XUSER
: dbmcli -U [<user_key>] –d <database_name>If you use
–u without specifying <userid>,<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.If you do not specify a
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:
User manual: SAP DBReply
The system outputs an OK message.
In the event of errors, see
Reply Format.