KI_CONNECT_SET_ATTR

Set connection attribute

Synopsis:
CALL KI_CONNECT_SET_ATTR connection, eAttr, value TO [status], [previous]
'ki_connect_set_attr( connection, eAttr, value, [previous] )
ArgumentEnumerationPurpose
connectionConnection handle
eAttrKDB_CONNECT_ATTR_ENUMattribute
valueValue
statusKDB_ERROR_ENUMReturn status
previousPrevious value
>KI_CONNECT_SET_ATTR

KI_CONNECT_SET_ATTR

This function is used to control attributes of a connnection handle. Some attributes need to be set after the connection handle has been allocated with KI_ALLOC_CONNECT but before the connection is established with KI_CONNECT, and others immediately after the connection but before any handles are allocated, however some attributes can be set at any time. See the documentation for the individual attributes.

The complementary function KI_CONNECT_GET_ATTR can be used at any time to get the current value of an attribute.

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_GET_ATTR_STR, 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