The code set translation environment variable
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:
- To translate between the ASCII character set and the EBCDIC character set for a specific
country code, at the command prompt, enter:
set MFCODESET=nnnn
where nnnn is either a supported 4-digit country code or the code set number as detailed in Supported country codes, or the code set number of a customized translation module.
Note: If you set an invalid country code, the DEFAULT country code setting is used. - To translate between a specified ASCII character set and a specified EBCDIC character
set, at the command prompt, enter:
set MFCODESET=xxxxyyyy
where xxxx is a 4-character hexadecimal string representing the EBCDIC CCSID, and yyyy is a 4-character hexadecimal string representing the ASCII CCSID. If the specified CCSID translation table is not currently installed, refer to To install a CCSID translation table.
Example:
set MFCODESET=0285
set MFCODESET=002504E4