Natural for Mainframes Version 8.2.5 for Mainframes
 —  Parameter Reference  —

TABA2 - ASCII-to-EBCDIC Translation

This Natural profile parameter allows you to overwrite the definitions in the ASCII-to-EBCDIC translation table NTTABA2 as contained in the configuration module NATCONFG. TABA2 corresponds to the NTTABA2 macro in the Natural parameter module.

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

The following topics are covered below:


TABA2 Parameter Syntax

The TABA2 parameter is specified as follows:

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

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

Or:

TABA2=OFF

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

Top of page

NTTABA2 Macro Syntax

The NTTABA2 macro is specified as follows:

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

Notes:

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

Top of page

Example of TABA2 Parameter

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

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

Top of page

Example of NTTABA2 Macro

         NTTABA2 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