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 one of the supported code sets:
    Note: You need to perform these steps for each project that builds COBOL code using the EBCDIC code set.
    1. In COBOL Explorer, click Project > Properties.
    2. Expand Micro Focus > Project Settings > Build Environment.
    3. On the Build Environment page, click Add. The Add Variable dialog box is displayed.
    4. In the Variable 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 OK.
    5. Click Apply and Close.

      If your workspace is configured to build automatically, the project is rebuilt. If it is not, you need to rebuild the project manually.

  2. Configure the enterprise server region to use a particular EBCDIC code set:
    1. In Server Explorer, right-click the host server, and then select Open Administration Page.
    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.