You use the DBM option –ux to log on to the XUSER program from the Database Manager CLI, using the data stored under the DEFAULT XUSER key.
You can use this DBM option to change (DBM option –us) or delete (DBM option –ud) XUSER entries.
We recommend that you use the XUSER tool directly.
See also: XUSER
You have saved the user name and password of a valid database user under the DEFAULT XUSER key.
-ux <default_user>,<default_user_password>
dbmcli -ux <default_user_name>,<default_user_password> -uk <user_key> –us <new_user_name>,<new_user_password> [options]
Calling the Database Manager CLI, logging on as user BORIS with password PINK (stored under the DEFAULT XUSER key), specifying the XUSER entry to be changed with the key name DAKEY, specify the new user name and password – MONA and RED:
dbmcli –ux BORIS,PINK –uk DAKEY –us MONA,RED
dbmcli -ux <default_user_name>,<default_user_password> -uk <user_key> -ud
Calling the Database Manager CLI, logging on as user BORIS with password PINK (stored under the DEFAULT XUSER key), specifying the XUSER entry to be deleted with the key name DAKEY, specifying the DBM option –ud to delete this entry:
dbmcli –ux BORIS,PINK –uk DAKEY –ud