z/OS Unicode Services User's Guide and Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Case conversion

z/OS Unicode Services User's Guide and Reference
SA38-0680-00

This information describes the programming required for the case conversion services.

Case conversion is also referred to as 'conversion to upper or lower case'. The case conversion services are called using a stub routine named CUNLASE for AMODE (31) and CUN4LASE for AMODE (64). It converts the case in a string of text characters.

Unicode Services supports the following types of casing:
  • Upper mapping:
    • Simple case to upper mapping (where string lengths do not change) based on Unicode data file only.
    • Special case to upper mapping (where string lengths may change) with or without additional information provided by a locale.
  • Lower mapping:
    • Simple case to lower mapping (where string lengths do not change) based on Unicode data file only.
    • Special case to lower mapping (where string lengths may change) with or without additional information provided by a locale.
  • Title case:
    • Simple title case (where string lengths do not change).
    • Special title case mapping (where string lengths may change) with or without additional information provided by a locale.

Unicode case conversion is described in the Unicode standard at http://www.unicode.org/. Case conversion rules are summarized in the two tables UnicodeData.txt and SpecialCasing.txt which are available from the same website.

To activate case conversion, specify the CASE control statement in the input data set for the image generator (job CUNMIUTL). For detailed information, see Creating a conversion image and Case conversion.

The case conversion environment can also be dynamically activated when a conversion request is performed and the requested conversion has not been previously loaded.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014