6100 ADCCP Programming Manual

(64) TRANSLATE TABLE
Requests and Responses
069225 Tandem Computers Incorporated 6–21
(64) TRANSLATE
TABLE
The TRANSLATE TABLE request and response are used to change the translation
tables for ASCII to EBCDIC and EBCDIC to ASCII.
Request The TRANSLATE TABLE request replaces the default translation tables (ASCII to
EBCDIC and EBCDIC to ASCII). The Text field consists of two 256-byte tables, one to
use on incoming data and one to use on outgoing data.
The ASCII-to-EBCDIC table is a list of EBCDIC values. The first value in the list is the
value to which an ASCII 0H is translated, the second is the value to which an ASCII
1H is translated, and so on. Likewise, the EBCDIC to ASCII table is a list of ASCII
values: the first value in the list is the value to which an EBCDIC 0H is translated, the
second is the value to which an EBCDIC 1H is translated, and so on.
Three line options affect the translation:
TRANSLATE indicates that incoming and outgoing data are subject to translation.
XLENGTH specifies the number of bytes to translate.
XOFFSET specifies the point at which translation should begin.
The ADCCP protocol module accepts the TRANSLATE TABLE request even if you
have not specified the TRANSLATE option. An application can start and stop
translation by using the (1) SET CONFIGURATION request.
If TRANSLATE is in effect at the time of this request, ADCCP begins using the tables
immediately. Translation affects all users of the line and should therefore be
coordinated among the applications.
The request buffer format is:
Function := 64
Modifier := 0
Request ID := A unique value from 1 through 32767,
determined by the application
Text Out := 512
Text In := 0
Text := Table for incoming data :Array of 256 bytes
Table for outgoing data :Array of 256 bytes