KI_CONNECT_GET_ATTR_STR

Get connection attribute strings

Synopsis:
CALL KI_CONNECT_GET_ATTR_STR connection, eAttr TO sValue$, [nLen], [status]
status = 'ki_connect_get_attr_str( connection, eAttr, sValue$, [nLen] )
ArgumentEnumerationPurpose
connectionConnection handle
eAttrKDB_CONNECT_ATTR_ENUMattribute
sValue$Value
nLennumber of bytes in string
statusKDB_ERROR_ENUMReturn status
>KI_CONNECT_GET_ATTR_STR

KI_CONNECT_GET_ATTR_STR

This function is used to inspect string attributes of a connnection handle. Generally these attributes were set using the complementary KI_CONNECT_SET_ATTR_STR function after the connection handle has been allocated with KI_ALLOC_CONNECT but before the connection is established with KI_CONNECT. However attributes can be inspected at any time in the life of a connection.

Valid attributes and the enumeration that define them may be found in this page and in the constants list here.

History
Introduced in KCML 6.60
See Also:
KI_ALLOC_CONNECT, KI_CLEAR, KI_CONNECT, KI_CONNECT_GET_ATTR, KI_CONNECT_SET_ATTR, KI_CONNECT_SET_ATTR_STR, KI_DISCONNECT, KI_ERROR, KI_ERROR_TEXT, KI_FREE_CONNECT, KI_GET_ERROR_TEXT, KI_GET_LANGUAGES, KI_HANDLE_GET_ATTR_POOL, KI_INFO, KI_REDIR_CONNECT, KI_SET_LANGUAGE, KI_SET_LANGUAGES
KCML database status codes