To create new XUSER entries, you do not need to log on to the XUSER program. You can either create new XUSER entries interactively or import them from an XUSER file.
A predefined key name DEFAULT already exists. This key name cannot be changed. If data has not yet been stored under this key name, the first defined entry is always stored under the key name DEFAULT, even if another key name is specified.
If you do not specify a key name when you create an XUSER entry, all data is stored under the key name DEFAULT and existing data is overwritten.
To change XUSER entries, you must log on to the XUSER program using the user data contained in the entry to be changed or using the data stored under the XUSER key DEFAULT.
You change an existing XUSER entry by completely overwriting its data.
xuser [<options>] set
You can call up the XUSER program using the following options:
-h |
Displays the help texts |
-V |
Displays the version of the XUSER program |
-A ASCII8 |
The XUSER data is interpreted as ASCII8 |
-b <file_name> |
XUSER entries are generated in the background from the data in the file <file_name>. See: XUSER files |
-U <user_key> |
Key name under which the XUSER entry in the XUSER program is stored Character string with a maximum of 18 characters (UNICODE: 9 characters); case-sensitive. |
-u <user_name>,<password> |
User name and password Character strings with a maximum of 18 characters (UNICODE: 9 characters) The user name and password must be enclosed in double quotation marks if they are to contain letters in lower case or special characters. Otherwise, letters in lower case are converted to upper case. |
-d <database_name> |
Name of the database instance that is to be used. If the database instance has not yet been created, observe the conventions for database names. If <database_name> is not specified, the name from the environment variable SERVERDB is used. If this environment variable is not set, a database instance is not assigned to the XUSER entry. |
-n <database_server> |
Name of the computer on which the addressed database instance is running Character string with a maximum of 64 characters Note that the string is case-sensitive. If <database_server> is not specified, the local computer is used. |
-S <SQL_mode> |
Character string with a maximum of 8 characters If <SQL_mode> is not specified, the SQL mode INTERNAL is used. |
-t <timeout> |
Timeout value in seconds Possible values: -1, <number>, 0 -1: the default value of the database instance is
copied. If <timeout> is not specified, the value –1 is used. |
-I <isolation_level> |
(only for application programs and precompiler) If <isolation_level> is not specified, the value –1 is used, in other words, the default value of the database instance is copied. |