When determining which localization values to use, Client-Library uses the following order of preference:
Data element localization values:
The CS_LOCALE associated with the CS_DATAFMT structure that describes a data element, or
The CS_LOCALE passed to a routine as a parameter.
Connection structure localization values.
Context structure localization values.
Context structure localization values are always defined, because a newly allocated context structure is assigned whatever default localization values are in effect.