Consultor Eletrônico



Kbase 21987: Running Native 4GL on AS400 with Double-byte Code Pages
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   23/04/2002
For the Native Client to use double-byte code pages, you just need entries in the CONVMAP file.

Actual translation between single-byte and double-byte is not possible; the Native Client is not DBE (double-byte enabled). To get around this dilemma, 037-5035 entries are created in the CONVMAP file pointing to the NOCONVERT table file. This causes the program to map characters to themselves.

TYPE CODEPAGE QUALIFIER TBL01 TBL01LI
-------------------------------------------------------------
1 IBM5035 BASIC IBM037UCW *LIBL
2 IBM5035 BASIC IBM037CS *LIBL
3 IBM037 IBM5035 NOCONVERT *LIBL
3 IBM5035 IBM037 NOCONVERT *LIBL
4 IBM5035 IBM037A *LIBL

A simple way to add the required entries to the CONVMAP file is to use IBM's Data File Utility.

Since actual DBCS (Double-Byte Character Set) tables are not required and are insuperable, they are not loaded at Installation time and customers do not need to create them.