The output (OUTXLAT) and input (INPXLAT) tables are standard 256 byte translate tables in a format suitable for the translate (TR) operations code (op code). OUTXLAT is used when the current device does not support the same code page as the application and encyclopedia. This means that a difference exists in the code points for the encyclopedia and application database and the code points for the device. The translate table needs to convert the code points in the output data stream to the correct code points for the current device to display the correct glyphs. INPXLAT is used when data is received from the terminal to convert the code points back to the appropriate values for the application database and encyclopedia.
If the device supports the same code page as the application and database, then OUTXLAT and INPXLAT should be set to ZERO ( 0 ) to suppress any code point conversion.
For example, if the current device is a Japanese 557x terminal supporting code page 930 (uppercase Roman only) and the application prompts contain lower case Roman letters, the translate tables must perform inbound and outbound translations.
Outbound, the translate table performs monocasing (from lowercase to uppercase), and translates the application database code points to the device code points. This displays the correct glyphs on the device.
Inbound, the translate table translates the device code points to the application database and encyclopedia code points for proper storage. This prevents corruption of the data in the database.
To accomplish the translation process in the preceding example, set OUTXLAT to point to a table that converts lowercase code points to uppercase. Set INPXLAT to a table that translates device Katakana back into the code point values needed in the application database.
|
Copyright © 2015 CA Technologies.
All rights reserved.
|
|