KI_HANDLE_SET_ATTR_STR

Get handle attribute

Synopsis:
CALL KI_HANDLE_SET_ATTR_STR handle, eAttr, sAttr$ TO [status], [sPrevious$]
'ki_handle_set_attr_str( handle, eAttr, sAttr$, [sPrevious$] )
ArgumentEnumerationPurpose
handleTable handle
eAttrKDB_HANDLE_ATTR_ENUMattribute
sAttr$Buffer containing attribute string
statusKDB_ERROR_ENUMReturn status
sPrevious$Previous value
>KI_HANDLE_SET_ATTR_STR

KI_HANDLE_SET_ATTR_STR

This function is used to control the string attributes of a database handle. The complementary function KI_HANDLE_GET_ATTR_STR can be used at any time to get the current value of an attribute. The attribute will have trailing blanks clipped. An empty string will be converted to a NULL or undefined attribute.

Valid attributes and the enumeration that define them may be found in this page and in the constants list here. Some attributes are read only and cannot be set.

History
Introduced in KCML 6.60
See Also:
KI_ADD_TRACKED_LOCK, KI_ALLOC_HANDLE, KI_CLEAR, KI_CLEAR_HANDLES, KI_CLOSE_TABLE, KI_DROP_TRACKED_LOCK, KI_FREE_HANDLE, KI_GET_HANDLE, KI_GET_TRACKED_LOCKS, KI_HANDLE_GET_ATTR, KI_HANDLE_GET_ATTR_STR, KI_HANDLE_SET_ATTR, KI_HANDLE_SET_ATTR_POOL
KCML database status codes