UTAB2 - Upper-to-Lower-Case Translation

This Natural profile parameter allows you to overwrite the definitions in the translation table NTUTAB2 as contained in the configuration module NATCONFG.

Possible settings See UTAB2 Parameter Syntax.
Default setting As specified within the macro NTUTAB2 in NATCONFG.
Dynamic specification yes This parameter can only be specified dynamically. In the Natural parameter module, the macro NTUTAB2 is used instead.
Specification within session no  

Notes:

  1. UTAB2 corresponds to the NTUTAB2 macro in the Natural parameter module.
  2. The NTUTAB2 table is used for upper-to-lower case translation.
  3. If the CP profile parameter is set to a value other than OFF, values specified with UTAB2 are ignored. See also Translation Tables in the Unicode and Code Page Support documentation.

The following topics are covered below:


UTAB2 Parameter Syntax

The UTAB2 parameter is specified as follows:

UTAB2=(a1,a2,b1,b2,c1,c2,...)

You specify pairs of characters, the first character of a pair being a upper-case character to be translated, the second character of a pair being the lower-case character into which the upper-case character is to be translated.

You can specify each character either as the one-byte character itself (enclosed in apostrophes) or as the two-byte hexadecimal representation of that character.

With the UTAB2 parameter, you must enclose the entire string of character pairs in parentheses; see Example of UTAB2 Parameter.

Or:

UTAB2=OFF

With UTAB2=OFF all (static and dynamic) definitions are reset to the values specified within the macro NTUTAB2 in NATCONFG.

NTUTAB2 Macro Syntax

The NTUTAB2 macro is specified as follows:

         NTUTAB2 a1,a2,b1,b2,c1,c2,...

Notes:

  1. For an explanation of the syntax elements, see UTAB2 Parameter Syntax. For an example, see Example of NTUTAB2 Macro.
  2. The value OFF cannot be specified with the macro NTUTAB2, but only dynamically with the profile parameter UTAB2.

Example of UTAB2 Parameter

UTAB1=(5E,'Ä','ö',78,FF,00,'ü','Ü')

In this example, the character represented by H'5E' is translated into 'Ä', 'ö' into the character represented by H'78', the character represented by H'FF' into the character represented by H'00', and 'ü' into 'Ü'.

Example of NTUTAB2 Macro

         NTUTAB2 5E,'Ä','ö',78,FF,00,'ü','Ü'

In this example, the character represented by H'5E' is translated into 'Ä', 'ö' into the character represented by H'78', the character represented by H'FF' into the character represented by H'00', and 'ü' into 'Ü'.