TAB1 - Alternative Output Translation

#### Search Results

Search

# TAB1 - Alternative Output Translation

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

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

Note
The `NTTAB1` table in `NATCONFG` is the alternative output translation table for the secondary character set used when the profile/session parameter `PM``=C` is set.

The following topics are covered below:

- TAB1 Parameter Syntax

- NTTAB1 Macro Syntax

- Example of TAB1 Parameter

- Example of NTTAB1 Macro

## TAB1 Parameter Syntax

The `TAB1` parameter is specified as follows:

TAB1=(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:

TAB1=OFF

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

## NTTAB1 Macro Syntax

The `NTTAB1` macro is specified as follows:

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

Notes:

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

## Example of TAB1 Parameter

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

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

## Example of NTTAB1 Macro

             NTTAB1 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 `'Ü'`.

### On this page

- TAB1 Parameter Syntax
- NTTAB1 Macro Syntax
- Example of TAB1 Parameter
- Example of NTTAB1 Macro