You use the command –U <user_key> [<options>] to connect to a database instance. Specify the XUSER key as the <user_key>.
The user key is case-sensitive.
Also note that the connection can only be made successfully if the database user saved in the specified XUSER entry has been created in the database instance with an SQL statement.
See also: Using XUSER
If you connect to the XUSER program directly without specifying an XUSER key, then the connection is made with the user data saved under the key name DEFAULT. If you specify additional options, then these options override the corresponding data in the XUSER entry.
Various applications of the database system support
the XUSER program, and give you the option of connecting to the program from
the application itself.
If you use SQL applications (such as the Precompiler) to
connect to XUSER, and you do not specify an XUSER key, then the connection is
also made with the user data saved under the key name
DEFAULT.
However, if you use the Database Manager to connect to XUSER, and you do not
specify an XUSER key, then the connection is made with the user data saved
under the key name
DBMUSR.