WLM_SET_CLIENT_INFO procedure
The WLM_SET_CLIENT_INFO procedure sets values for the SQL client special registers.
The schema is SYSPROC.
If a parameter is omitted or the NULL value is specified for a parameter, the value of the corresponding special register is not changed.
- client-userid
- A character or graphic string expression containing the value to set for the CLIENT USERID special register for the current connection.
- client-wrkstnname
- A character or graphic string expression containing the value to set for the CLIENT WRKSTNNAME special register for the current connection.
- client-applname
- A character or graphic string expression containing the value to set for the CLIENT APPLNAME special register for the current connection.
- client-acctng
- A character or graphic string expression containing the value to set for the CLIENT ACCTNG special register for the current connection.
- client-programid
- A character or graphic string expression containing the value to set for the CLIENT PROGRAMID special register for the current connection.
Example
- Change the values of the CURRENT CLIENT_USERID and CURRENT CLIENT_PROGRAMID special registers
for the current
connection.
CALL SYSPROC.WLM_SET_CLIENT_INFO(CLIENT_USERID => 'PGM1USER', CLIENT_PROGRAMID => 'PGM1');