GLS support is provided for these IBM Informix products and utilities:
Sections that follow outline the features that GLS support provides for the first two types of IBM Informix products.
For information about how to migrate a database server whose databases contain non-English data, see the IBM Informix: Migration Guide.
GLS was introduced in IBM Informix OnLine Dynamic Server. Previously, ALS language support was provided for non-English databases with Asian (multibyte) characters and NLS language support for non-English databases with single-byte characters. GLS is a single feature that provides support for single-byte and multibyte data in non-English languages. For backward compatibility, GLS products also support all of the NLS environment variables and a subset of the ALS environment variables. For a list of these variables, see the IBM Informix: Migration Guide.
With the GLS feature, Informix database servers provide support for the following culture-specific features:
You can use non-ASCII characters to name user-specifiable database objects, such as tables, columns, views, statements, cursors, and SPL routines, and you can use a collation order that suits local customs.
You can also use non-ASCII characters in many other contexts. For example, you can use them to specify the WHERE and ORDER BY clauses of your SELECT statements or to sort data in NCHAR and NVARCHAR columns. You can use GLS collation features without the modification of existing code.
You can use non-ASCII characters in expression comparisons that involve NCHAR and NVARCHAR data.
You can use end-user formats that are specific to a country or culture outside the U.S. to specify date, time, numeric, and monetary values when they appear in literal strings. The database server can translate these formats to the appropriate internal database format.
The client application can perform code-set conversion between convertible code sets to allow you to access and share data between databases and clients that have different code sets. For more information on code-set conversion, see Performing Code-Set Conversion.
In general, a client application is a program that runs on a workstation or a PC on a network. To the GLS feature, a client application can be either an IBM Informix SQL API product (such as IBM Informix ESQL/C) or an Informix database server utility (such as DB–Access, dbexport, or onmode). These IBM Informix client applications provide support for the GLS feature:
IBM Informix GLS is an application programming interface (API) that lets DataBlade module developers and ESQL/C programmers develop internationalized applications with a C-language interface.
The macros and functions of IBM Informix GLS provide access within an application to GLS locales, which contain culture-specific information. You can use IBM Informix GLS to write programs (or change existing programs) to handle different languages, cultural conventions, and code sets.
All IBM Informix GLS 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 ESQL/C client applications and client LIBMI applications) or the server-processing locale (for DataBlade user-defined routines).
IBM Informix GLS provides macros and functions to help you perform the following internationalization tasks:
IBM Informix client applications as well as database servers can access IBM Informix GLS. For applications, you link the IBM Informix GLS library to your application to perform locale-related tasks. Informix database servers automatically include the IBM Informix GLS library.
The GLS feature supports the following data types:
For information about GLS considerations for the character data types, see Using Character Data Types.
For information about GLS considerations for number and MONEY data types, see Numeric and Monetary Formats.
For information about GLS considerations for DATE, and DATETIME data types, see Date and Time Formats.
For GLS considerations regarding user-defined data types and smart large objects, see Handling Extended Data Types (IDS).
For information about ESQL/C data types, see the IBM Informix: ESQL/C Programmer's Manual.
IBM Informix products include a core set of GLS locale files, including the default locale and most locales to support English, Western European, Eastern European, Asian, and African territories. If you do not find a locale to support your language and territory, you can get additional locales in the International Language Supplement (ILS) product, which provides all available GLS locales and code-set conversion files. It also includes error messages to support several European languages.
For more information about available GLS locales and IBM Informix Language Supplements, contact your sales representative. For more information about how to create customized message files, see Locating Message Files.
Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]