Attribute

ClientUser (CU)

Purpose

The user ID to be stored in the database. This option sets the CURRENT CLIENT_USERID register (Db2 for Linux/UNIX/Windows, Db2 for i, Db2 Hosted, and Db2 Warehouse on Cloud) and CLIENT USERID register (Db2 for z/OS) in the database. This value is used by the Db2 Workload Manager.

Valid Values

-1 | client_userid

where:

client_userid
is a valid user ID.

Behavior

When set to -1, the driver uses the userid of the user that is currently logged onto the client.

Default

None

GUI Tab

Client Monitoring tab

See also

Performance considerations

Notes

  • This connection option can affect performance.