Locales for uppercase and lowercase conversion of EBCDIC data
Rules for uppercase and lowercase usage vary according to language and country. A locale defines the subset of a user's environment that depends on language and cultural conventions.
DB2® uses the information that is associated with a locale to execute UPPER, LOWER, and TRANSLATE functions in a culturally correct manner. A locale consists of two components: the first component represents a specific language and country, and the second component is a CCSID.
Example: In the locale, Fr_CA.IBM®-1047, Fr_CA represents the language and country (French Canadian), and IBM-1047 is the associated CCSID.
The symbol for euro currency is supported through the modifier @EURO.
Example: To display results in euro dollars instead of French Francs, specify Fr_FR@EURO.
DB2 uses the SCEELKED and SCEERUN Language Environment® (LE) libraries. Both libraries are PDS libraries and are for non-XPLINK linkage only. If you need to customize the locales using Language Environment libraries, see Internationalization: Locales and Character Sets.
The following table shows a partial list of locales that are supplied with z/OS® C/C++. For a more complete list of locales, see Compiled locales (LE locales).
Locale | Language | Country | Code set | Load module name |
---|---|---|---|---|
De_CH.IBM-500 | German | Switzerland | IBM-500 | EDC$DCEO |
De_CH.IBM-1047 | German | Switzerland | IBM-1047 | EDC$DCEY |
De_DE.IBM-273 | German | Germany | IBM-273 | EDC$DDEB |
De_DE.IBM-1047 | German | Germany | IBM-1047 | EDC$DDEY |
Fr_CA.IBM-037 | French | Canada | IBM-037 | EDC$FCEA |
Fr_CA.IBM-1047 | French | Canada | IBM-1047 | EDC$FCEY |
It_IT.IBM-280 | Italian | Italy | IBM-280 | EDC$ITEG |
It_IT.IBM-1047 | Italian | Italy | IBM-1047 | EDC$ITEY |
Ja_JP.IBM-290 | Japanese | Japan | IBM-290 | EDC$JAEL |
Ja_JP.IBM-930 | Japanese | Japan | IBM-930 | EDC$JAEU |
Ja_JP.IBM-939 | Japanese | Japan | IBM-939 | EDC$JAEV |
Ja_JP.IBM-1027 | Japanese | Japan | IBM-1027 | EDC$JAEX |