To install a CCSID translation table

Use these instructions when installing a translation table into a development environment. For details on installing a translation table for a deployed application, see To install a CCSID translation table for deployed applications.

Prerequisites:
  • During Visual COBOL installation, the IBM-37, IBM-437, and 002501B5 tables are installed in %ProgramFiles(x86)%\Micro Focus\Visual COBOL\etc\ccsid (Windows) or $COBDIR/etc/ccsid (UNIX). If you require other translation tables, download the full package of IBM CCSID translation tables file from cdctables.zip and extract it to the ccsid directory.
  • To complete this task, you must have administrator privileges to the Visual COBOL installation directory.
  1. If you require a table other than one of the pre-installed ones:
    1. Use the tabindex.txt file (located in the intro.zip file of the extracted package) to identify the package number and filename for each CCSID translation table you need to install.
    2. Within the ccsid directory, create a sub-directory for each table you want to install, using the name of the CCSID translation table filename, specified in the tabindex.txt file, as the directory name.
    3. For each CCSID that you want to install, open its corresponding Packagen.zip file (as specified in tabindex.txt) and extract the files from the appropriate CCSID .zip file to the corresponding directory you created in the previous step.
  2. Set the MFCODESET environment variable to the required code set for translation; see The code set translation environment variable for details.

Example

To install a CCSID translation table to convert Spanish to USA English, create a sub-directory under ccsid named 011C01B5, and then extract the contents of package4.zip\011C01B5.zip (Windows) or package4.zip/011C01B5 (UNIX) to the 011C01B5 sub-directory.