Nlynx ETU400 Manuale Utente

Pagina di 314
ETU400 User Guide 011603
 
8-3
About Translation Tables
The translation tables provided with ETU have three purposes. They:
  translate data from ASCII to EBCDIC or from EBCDIC to ASCII;
  specify whether the file being translated has a fixed or variable
format;
  tell the host whether the micro involved in the translation is a DOS-
based PC or a Mac.
Each translation table is stored as a member in a physical file. The DOS-
based tables are in a physical file called TRANSLATE in the host library
containing the ETU programs. The Mac translation tables are in a physical
file called MACTAB in the same library.
The source for each table is also included with ETU. Each table is stored
as a source member in a source file called TRANSSRC, also in the library
containing the ETU programs. To modify a translation table, you will
change one of the source members.
There are four tables for PC-DOS translations and three for the Mac
translations. Each table and its function is described below in Table 8-
1.
Table 8-1 The ETU translation table members in source file TRANSSRC
ETOA1
The EBCDIC-to-ASCII character translation
member producing a variable length record,
with carriage return and line feed added
after the last byte of data in each record.
Trailing blanks are stripped. 
ETOA1
The EBCDIC-to-ASCII character translation
member producing a basic random file on the
PC, with no carriage return line feed.
ETOA1
The EBCDIC-to-ASCII character translation
member producing a fixed length record,
with carriage return and line feed added at
the end of each record. Trailing blanks are
not stripped.
ATOE1
The ASCII-to-EBCDIC fixed and variable-
length member
PC DOS 
Translation Tables
ATOE3
The ASCII-to-EBCDIC print translation
member
ETOA1M
The EBCDIC-to-ASCII character translation
member producing a variable length record,
with carriage return and line feed added
after the last byte of data in each record.
Trailing blanks are stripped.
ETOA2M
The EBCDIC-to-ASCII character translation
member producing a variable-length record,
with carriage return and line feed added
after the last byte of data in each record.
Trailing blanks are stripped.
Mac
Translation Tables 
ATOE1M
The EBCDIC-to-ASCII character translation
member producing a basic random file on the
PC, with no carriage return line feed.