KI_FREE_CONNECT

Free up connection from a external database

Synopsis:
CALL KI_FREE_CONNECT connection TO status
status = 'ki_free_connect( connection )
ArgumentEnumerationPurpose
connectionDatabase connection number
statusKDB_ERROR_ENUMReturn status
>KI_FREE_CONNECT

KI_FREE_CONNECT

This frees the memory associated with the connection handle connection previously created by a KI_ALLOC_CONNECT. It will return a KE_BADHANDLE status if still connected, so a KI_DISCONNECT call should be made BEFORE the call to KI_FREE_CONNECT.

History
Introduced in KCML 5.00
See Also:
KI_ALLOC_CONNECT, KI_CLEAR, KI_CONNECT, KI_CONNECT_GET_ATTR, KI_CONNECT_GET_ATTR_STR, KI_CONNECT_SET_ATTR, KI_CONNECT_SET_ATTR_STR, KI_DISCONNECT, KI_ERROR, KI_ERROR_TEXT, 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