Using custom localization values

Client-Library and Open Server applications can use custom localization values at the context, connection, thread, data element, and routine levels.

A Client-Library or Open Server application sets up custom localization values by:

  1. Calling cs_locale to load a CS_LOCALE structure with specific localization values. For more information about cs_locale, see “The cs_locale routine”.

  2. Using the loaded CS_LOCALE structure to customize a context, connection, thread, or data element. For more information about this process, see “The CS_LOCALE structure”.

You can use command line options to run the Embedded SQL precompiler with custom localization values.

Embedded SQL applications cannot use custom values, that is, the initial localization values determined at runtime by LC_ALL, LANG, or the “default” entry in the locales.dat file.