Client-Library applications using custom values

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

Open Client and Open Server applications sets up custom localization values by:

Table 3-1 is intended to help you decide how to use custom localization values in your application:

Table 3-1: Using custom localization values in a Client-Library application

If

Then

For more information

The application needs just a single set of custom localization values (but, for whatever reason, it cannot use its initial localization values).

Customize at the context level.

You can use the same CS_LOCALE structure to customize multiple contexts.

“Customizing at the context level”.

Different contexts in the application require different localization values.

Customize each context.

Use different CS_LOCALE structures to customize different contexts.

“Customizing at the context level”.

Specific connections need to use localization values that differ from their parent context’s localization values.

Customize those connections.

“Customizing at the connection level”.

Bind variables, conversion destination variables, or specific routines need to use custom localization values.

Customize the variables or routines.

“Customizing at the data element level”.