The HCL OneDB GLS application programming interface

is an application programming interface (API) that lets DataBlade® module developers and programmers develop globalized applications with a C-language interface.

The macros and functions of provide access within an application to GLS locales, which contain culture-specific information. You can use to write programs (or change existing programs) to handle different languages, cultural conventions, and code sets.

All functions access the current processing locale, which is the locale that is currently in effect for an application. It is based on either the client locale (for client applications and client LIBMI applications) or the server-processing locale (for DataBlade user-defined routines).

provides macros and functions to help you perform the following globalization tasks:
  • Process single-byte, multibyte, and wide characters
  • Process single-byte, multibyte, and wide-character strings
  • Memory management for multibyte and wide-character strings
  • Convert date, time, money, and number strings to and from binary values
  • Process input and output multibyte-character streams

HCL OneDB™ client applications and database servers can access . For applications, you link the library to your application to perform locale-related tasks. HCL® OneDB database servers automatically include the library.