CURRENT CLIENT_ACCTNG
CURRENT CLIENT_ACCTNG contains the value of the accounting string from the client information that is specified for the connection.
The data type is VARCHAR(255).
The value of the special register can be changed by using one of the following application programming interfaces (APIs):
- Set Client Information (sqleseti)
SQLSetConnectAttr
(ODBC) 
java.sql.Connection.setClientInfo
(JDBC)
- The RRS DSNRLI SIGNON, AUTH SIGNON, CONTEXT SIGNON, or SET_CLIENT_ID function
- The WLM_SET_CLIENT_INFO stored procedure
The value for the accounting string will be obtained first from the accounting string that is set by the SET_CLIENT_ID function, AUTH SIGNON function, or the Set Client Information (sqleseti) API, or alternatively from the accounting token set by RRSAF if accounting string has not been set.
The application compatibility value of the package determines
the length and blank padding of the CURRENT CLIENT_ACCTNG special
register returned.
If one of these APIs is not used to set the value of the special register, an empty string is returned when the special register is referenced.
SET :ACCT_STRING = CURRENT CLIENT_ACCTNG