Purpose

This function translates a string from the Windows® ANSI code page to EBCDIC. The router must be loaded so that this routine can access the ASCII-to-EBCDIC translation table.

If the target string is not large enough to contain the translated string, the translation stops at the end of the target string. If the target string is larger than required, it is filled with blanks to the end of the string.