The code set translation environment variable

Set the MFCODESET variable in your environment to control the code sets being translated.

To use your product's inbuilt translation module for EBCDIC applications, you must use the MFCODESET environment variable to specify the EBCDIC code set you require.

This variable can be set on the command line or within the IDE, and must take the following form:

Example:

To run a program under the CHARSET"EBCDIC" Compiler directive, and have it translate its output between your current ASCII character set and UK English EBCDIC:
set MFCODESET=0285
To run a program under the CHARSET"EBCDIC" Compiler directive, and have it translate its output between the MS-WIN LATIN-1 code set (CCSID 1252) and the COM EUROPE EBCDIC code set (CCSID 37):
set MFCODESET=002504E4