Version 6.3.1
 —  Adabas Administration  —

Code Page Support

In heterogeneous client/server architectures, where the client and servers reside on machines with different architectures, Adabas supports a method whereby the client nodes that require different character sets (also called code pages) are provided with the appropriate translation tables for the conversions. An example of this would be an Adabas nucleus running on a UNIX machine, with one application running on a mainframe (EBCDIC code) and another application running on a language-sensitive PC; in this case, the nucleus would require 2 translation tables in order to handle the data from both applications correctly.

Code page support is available for:

Adabas supports the use of plain text files as private code pages. In addition to this, DLLs or shared libraries that can be used (see Appendix A in this manual for further details). The translation text file to be used is attached to Adabas with the environment variable ADATRT, but the file must have the extension .txt (or .TXT), for example:

ADATRT = trt.dll		# use code pages with built dll
ADATRT = trt.txt		# use code pages with text file

The syntax of such a text file is as follows:

The following is an example of how to define a private EBCDIC translation file:

trt.txt:
	EBCDIC
	4A,C4    ; translate EBCDIC Ae (0x4A) to ASCII C4
	E0,D6    ; translate EBCDIC Oe (0xE0) to ASCII D6

The use of text files and shared libraries is mutually exclusive.

Top of page