Enabling code set support for Enterprise Server

The table within Supported country codes shows the in-built support for various EBCDIC code sets. Use the following instructions to configure your IDE to build your EBCDIC projects with the required code set support, and to configure your enterprise server regions to support the code set translations.

  1. Configure a project to use the code set:
    Note: You need to perform these steps for each project that builds COBOL code using the EBCDIC code set.
    1. In Solution Explorer, right-click the project and select Properties.

      The <project-name> pane is displayed.

    2. On the Application page, click Environment.

      The IDE Settings dialog box is displayed.

    3. In the Name field, type MFCODESET, and in the Value field, type the required country code (as shown in The code set translation environment variable), and then click Set.
    4. Select Use variables when building the project.
    5. Click OK.
    6. Right-click the project in Solution Explorer and select Rebuild. The project is rebuilt.
  2. Configure the enterprise server region to use a particular EBCDIC code set:
    1. In Server Explorer, right-click Micro Focus Servers, and then select Administration.
    2. Click Edit to the left of the appropriate server.
    3. Select Server > Properties > General.
    4. In the Configuration Information section, ensure there is a heading entitled [ES Environment], and then within it, type MFCODESET=xxxx[yyyy]. For xxxx[yyyy], refer to The code set translation environment variable.
    5. Click OK.
  3. Start or restart the server:
    1. In Server Explorer, right-click the server, and then select Start or Restart.

      When the server is running, you can connect your terminals emulator to the server, and as long as it supports the corresponding EBCDIC CSSID, you can run the application with your chosen code set support.