Products Downloads


French version


 

 

To make the EBCDIC/ASCII conversions, the AS/400 server uses the conversion tables that are located in the AS/400's QUSRSYS library.

 

Note: This conversion principle applies both to the connection between Adelia Studio and the AS/400, and to the Client/Server part.

 

EBCDIC/ASCII conversion principle

The table object name (*TBL) is as follows:

Q<AS/400 codepage>BF<DOS PC codepage>

 

Example: For a conversion between an AS/400 with a 297 codepage and a PC with a 850 codepage (ASCII codepage: DOS), the table name will be Q297BF850.

 

Note:

The conversion can be made using another table than the one deducted from the above-mentioned rule. To do so, in the HA2SLIB library of your AS/400, create the DBMTBLTCP Dtaara, in which you will have to specify which table is to be used:

Positions 1 to 10: Table library name for the EBCDIC ® ASCII conversions.
Positions 11 to 20: Table name for the EBCDIC ® ASCII conversions.
Positions 21 to 30: Table library name for the ASCII ® EBCDIC conversions (optional).
Positions 31 to 40: Table name for the ASCII ® EBCDIC conversions (optional).

 

If positions 21 to 40 are left blank, the conversions in the ASCII ® EBCDIC direction will be deducted from the table specified for the conversions in the EBCDIC ® ASCII direction.

 

If you use the DBMTBLTCP Data area, you must see to it that the three special characters no longer match your AS/400's codepage, but match the codepage corresponding to the table specified in the Data Area.

 

↑ Top of page