KI_HANDLE_GET_ATTR

Get handle attribute

Synopsis:
CALL KI_HANDLE_GET_ATTR handle, eAttr TO value, [status]
status = 'ki_handle_get_attr( handle, eAttr, value )
ArgumentEnumerationPurpose
handleTable handle
eAttrKDB_HANDLE_ATTR_ENUMattribute
valueValue
statusKDB_ERROR_ENUMReturn status
>KI_HANDLE_GET_ATTR

KI_HANDLE_GET_ATTR

This function is used to inspect numeric attributes of a database handle. Generally these attributes were set using the complementary KI_HANDLE_SET_ATTR function after the handle has been allocated with KI_ALLOC_HANDLE. Handles also have string attributes that are set with KI_HANDLE_SET_ATTR_STR and inspected with KI_HANDLE_GET_ATTR_STR.

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_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_STR, KI_HANDLE_SET_ATTR, KI_HANDLE_SET_ATTR_POOL, KI_HANDLE_SET_ATTR_STR
KCML database status codes