KI_SET_LANGUAGE

Set database languages

Synopsis:
CALL KI_SET_LANGUAGE connection, lang TO status
status = 'ki_set_language( connection, lang )
ArgumentEnumerationPurpose
connectionCurrent database connection
langLanguage
statusKDB_ERROR_ENUMReturn status
>KI_SET_LANGUAGE

KI_SET_LANGUAGE

Allows the application to set the current language that it is operating. For example:

CALL KI_SET_LANGUAGES connection, _KLANG_DE TO status

Sets the current KCML/DB session to German. If we have German specific indexes then they will be used.

Use the KI_SET_LANGUAGES call to configure the range of supported languages.

History
Introduced in KCML 7.08
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_FREE_CONNECT, KI_GET_ERROR_TEXT, KI_GET_LANGUAGES, KI_HANDLE_GET_ATTR_POOL, KI_INFO, KI_REDIR_CONNECT, KI_SET_LANGUAGES
KCML database status codes