Natural for Mainframes Version 8.2.5 for Mainframes
 —  Parameter Reference  —

TAB - Standard Output Character Translation

This Natural profile parameter can be used to overwrite the definitions in the translation table NTTAB as contained in the configuration module NATCONFG. TAB corresponds to the NTTAB macro in the Natural parameter module.

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

Notes:

  1. The NTTAB table in NATCONFG is the standard output translation table.
  2. If the CP profile parameter is set to a value other than OFF, values specified with TAB are ignored. See also Translation Tables in the Unicode and Code Page Support documentation.

The following topics are covered below:


TAB Parameter Syntax

The TAB parameter is specified as follows:

TAB=(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 hexadecimal representation of that character.

Or:

TAB=OFF

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

Top of page

NTTAB Macro Syntax

The NTTAB macro is specified as follows:

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

Notes:

  1. For an explanation of the syntax elements, see TAB Parameter Syntax.
  2. The value OFF cannot be specified with the macro NTTAB, but only dynamically with the profile parameter TAB.

Top of page

Example of TAB Parameter

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

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

Top of page

Example of NTTAB Macro

         NTTAB 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