Entering content frame

 Creating or Changing XUSER Entries 

You do not need to connect to the XUSER program to create new XUSER entries. You can either create new XUSER entries interactively, or you can extract them from an XUSER file.

The predefined key name DEFAULT already exists. This key name cannot be changed. If no data is yet saved under this key name, then the first defined entry is always saved under DEFAULT, regardless of any key name that is specified.

If you do not specify a key name when you create an XUSER entry, then all data is saved under DEFAULT; this means that any existing data is overwritten.

To change XUSER entries, you must use the data of the user in the entry you want to change, or the data in the XUSER key DEFAULT, to connect to the XUSER program.

You change an existing XUSER entry by overwriting its data completely.

Syntax

xuser [<options>] set

You can call the XUSER program with the following options:

-h

Display help texts

-V

Display version of XUSER program

-A ASCII8

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 is saved in the XUSER program

Character string with a maximum of 18 characters (9 characters in UNICODE). This character string is case-sensitive.

-u <user_name>,<password>

User name and password

Character strings, each with a maximum of 18 characters (9 characters in UNICODE)

You must place them in quotation marks if they contain lowercase letters or special characters. Otherwise lowercase letters are converted to uppercase letters.

-d <database_name>

The name of the database instance you want to work on. If the database instance has not yet been created, follow the conventions for database names.

If you do not specify a <database_name>, then this name is taken from the environment variable SERVERDB. If this environment variable is not set, then no database instance is assigned to the XUSER entry.

-n <database_server>

The name of the server on which the database you called is running

Character string with a maximum of 64 characters

This character string is case-sensitive.

If you do not specify a <database_server>, then the local server is used.

-S <SQL_mode>

SQL mode

Character string with a maximum of 8 characters

If you do not specify an <SQL_mode>, then the INTERNAL SQL mode is used.

-t <timeout>

Timeout value in seconds

Possible values: -1, <number>, 0

-1: The default value of the database instance is used.
0: No timeout value is used.

If you do not specify a <timeout>, then the value –1 is used.

-I <isolation_level>

Isolation level

(for application programs and precompilers only)

If you do not specify an <isolation_level>, then the value –1 is used. This means that the default value of the database instance is used.

 

 

Leaving content frame