Version 4.2.6 for Mainframes (Update)
 —  Parameter Reference  —

TAB2 - Alternative Input Translation

This Natural profile parameter allows you to overwrite the definitions in the translation table NTTAB2 as contained in the configuration module NATCONFG. The NTTAB2 table is the alternate input translation table for the secondary character set used when the profile/session parameter PM is set to PM=C.

TAB2 corresponds to the NTTAB2 macro in the Natural parameter module NATPARM.

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

The following topics are covered below:


TAB2 Parameter Syntax

The TAB2 parameter is specified as follows:

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

You specify pairs of characters, the first character of a pair being the character to be translated, the second character of a pair being the character into which the first 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.

Top of page

NTTAB2 Macro Syntax

The NTTAB2 macro is specified as follows:

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

Top of page

Example of NTTAB2 Macro

NTTAB2 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 'Ü'.

Top of page

Example of TAB2 Parameter

With the TAB2 parameter, you must enclose the entire string of character pairs in parentheses, for example:

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

Top of page