The compiler, preprocessor, library, and debugger can convert both single and double bytes from ASCII to EBCDIC, and from EBCDIC to ASCII. The conversion routines are found in DLL files.
For Windows, the routines are found in these two files:
The source for these routines, including the tables that they use, is shipped with the product so that you can use different tables if necessary. The tables are in the product sample directory, /usr/lpp/pli/samples. If files are translated from EBCDIC to ASCII as you download them, you might want to use a different table from the one that is included.
The names of the conversion routines are IBMPBE2A (EBCDIC to ASCII), IBMPBA2E (ASCII to EBCDIC), IBMPBE4A (DBCS EBCDIC to ASCII), and IBMPBA4E (DBCD ASCII to EBCDIC). Do not change the names of the files that are included with the product.
Definition files are also supplied with the product:
For Windows, the definition files are:
You should use these definition files when creating the corresponding DLLs.