In some administration statements and commands you have to select one or more users to which the statement or command is to apply.
The identification of users is represented in abbreviated form in the syntax diagrams:
<user-identification> in the syntax of administration statements
user-identification in the syntax of administration commands.
In fact, the identification of users consists of up to four different partial qualifications.
A <user-identification> is partially qualified if not all data was specified for a user specification. A partially qualified <user-identification> can do more than identify a user. Depending on the administration command, a partially qualified <user-identification> is only permitted if it identifies exactly one user.
A <user-identification> is fully qualified when the user specifies all the relevant partial qualifications for unique identification.
Syntax of <user-identification> in administration statements
The complete syntax diagram of <user-identification> is as follows:
<user-identification> = *TSN(...) / *BY-SELECT(...) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Operands
<user-identification> =
Identifies an SQL or CALL DML user or a group of such users.
<user-identification> = *TSN(...)
User's short ID.
The short ID is adequate for users from a timesharing program on the same computer.
TSN = <alphanum-name 4..4>
Task sequence number of the timesharing user's task
<user-identification> = *BY-SELECT(...)
Identifies the user (timesharing user or application user) by means of the user name, which consists of different partial qualifications.
HOST-NAME = *NONE / <text 1..8>
Symbolic host name. The default is *NONE (i.e. no entry is made for this operand).
APPLICATION-NAME = *NONE / *TSN(...) / <text 1..8>
Name of the application. The default is *NONE (i.e. no entry is made for this operand).The name of the application depends on the user:
JDBC: „DBAxxxxx“ (xxxxx = DBA server's 5-digit port number)
ADO.NET: „ADOxxxxx“ (xxxxx = DBA server's 5-digit port number)
PHP: „PHPxxxxx“ (xxxxx = DBA server's 5-digit port number)
otherwise: name of the application
APPLICATION-NAME = *TSN(...)
The name of the application corresponds to the TSN of the timesharing user's task.
TSN = <alphanum-name 4..4>
Task sequence number of the timesharing user's task
CUSTOMER-NAME = *NONE / <text 1..8> / <x-text 1..8>
Name of the user.
The default is *NONE (i.e. no entry is made for this operand).
The name of the user depends on the operating mode:
TIAM: program name
openUTM: KDCSIGN name
DCAM: any name.
JDBC, ADO.NET, PHP: IP address of the JDBC, ADO.NET or PHP client in hexadecimal form (e.g. 7FC864C8 for IP address 127.200.100.200)
CONVERSATION-ID = *NONE / <x-text 1..8>
UTM conversation ID.
The default is *NONE (i.e. no entry is made for this operand).
The operation ID depends on the user:
JDBC, ADO.NET, PHP: connection ID of the JDBC,ADO.NET or PHP client to the DBA server
openUTM: conversation number of a UTM conversation (must be entered whenever the user is an asynchronous UTM conversation)
Unique user identification
In some user-specific administration statements, it is enough to specify a partially qualified <user-identification>. Other statements require that the user be identified uniquely. In such cases, you must specify all the relevant partial qualifications of <user-identification>. These cases are known as fully qualified.
Which partial qualifications of <user-identification> are relevant depends on the answers to the following questions:
Is the user local or remote?
Is the user a timesharing, application user, JDBC, ADO.NET or PHP?
The following overview indicates what you have to enter to identify a user uniquely:
User | Entry |
Local user in timesharing |
|
Remote user in timesharing |
|
Local user in transaction |
|
Local user in transaction |
|
Remote user in transaction |
|
Remote user in transaction |
|
JDBC |
|
Table 22: Unique user identification
Syntax of user-identification in administration commands
The syntax of user-identification in the administration commands is as follows:
user-identification ::= {user-spec|tsn-spec} user-spec ::= USER=[host],[{appl|tsn-spec}],[user][,vg-id] tsn-spec ::= TSN=tsn
In cases in which unique identification of a user is required, you must specify all the relevant partial qualifications. The following options are available to do this:
User | Entry |
Local user in timesharing mode |
|
Remote user in timesharing mode |
|
Local user in transaction mode |
|
Local user in transaction mode (openUTM) |
|
Remote user in transaction mode |
|
Remote user in transaction mode (openUTM) |
|
Table 23: Partial qualifications with unique user identification