IBM AS/400e Computer Hardware User Manual


 
CRTTBL TBL(TBLOUT) SRCFILE(QGPL/QTBLSRC)
GRTOBJAUT OBJ(QGPL/TBLOUT) OBJTYPE(*TBL)
USER(QTCP) AUT(*ALL)
Once the table has been created, you receive this message indicating the operation
was successful: Table TBLOUT in library QGPL created.
Using Mapping Tables for 3270 Full-Screen Mode
You can use mapping tables for TCP/IP TELNET by specifying the following values
for the KBDTYPE, TBL3270IN, and TBL3270OUT parameters when you start
TELNET:
STRTCPTELN RMTSYS(remote system name)
KBDTYPE(*TRNTBL) TBL3270IN(TBLIN)
TBL3270OUT(TBLOUT)
Reading a Mapping Table
The hexadecimal values in each mapping table represent EBCDIC or ASCII values
to which data in the data stream are converted. To find a mapping value in the
table, count to the position corresponding to the hex value of the character to be
converted. Several examples follow.
In Figure 286 on page 519, the mapping value of characters with a value of X'04' is
X'37', as shown in the highlighted position of X'04' (row 1, columns 9 and 10).
Alternatively in some cases, characters are not converted; they remain their original
values.
In Figure 287 on page 519, the mapping value for characters with a value of X'0B'
remains X'0B', as shown in the highlighted position of X'0B' (row 1, column 23 and
24).
In Figure 288 on page 522, the mapping value of characters with a value of X'01' is
X'60', as shown in the highlighted position of X'01' (row 1, columns 3 and 4).
Alternatively, in Figure 289 on page 522, characters are not converted; they remain
their original values. For example, the mapping value for characters with a value of
X'00' remains X'00', as shown in the highlighted position of X'00' (row 1, column 1).
Changing a Mapping Table
To change a mapping table, you must do the following:
v Change the source member for the incoming or outgoing data by using the
STRSEU command.
v Delete the old mapping table by using the Delete Table (DLTTBL) command.
v Create the new mapping table from the source member by using the CRTTBL
command.
Sample Mappings
This section contains several mapping examples.
Appendix C. Mapping Tables Associated with TCP/IP Function 523