How do I configure Control-M for Databases to support characters that do not exist in the Latin-1 character set or CJK characters?

Version 1
    Share This:

    This document contains official content from the BMC Software Knowledge Base. It is automatically updated when the knowledge article is modified.


    PRODUCT:

    Control-M for Databases


    COMPONENT:

    Control-M for Databases


    APPLIES TO:

    All versions of Control-M for Databases also when it is included in the Application Pack



    QUESTION:

    How do I configure Control-M for Databases to support characters that do not exist in the Latin-1 character set or CJK characters?


    ANSWER:

     

    The use of non-standard character sets is supported but you will have to do the following:

    1) (Re)install the Control-M environment (Control-M/Server and Enterprise Manager) with CJK support enabled

    2) After the installation, configure the Control-M/Agent to CJK  via the ctmagcfg utility (7 -> 7 -> CJK)

    3) Change the java container startup parameters as follows:

    - up to version 9.0.00
    In the file <AgentDir>\CM\DB\exe\ctmdbcontainer.cmd, replace the line:
    JRE\bin\java
    with:
    JRE\bin\java -Dfile.encoding=UTF8 -Dclient.encoding.override=UTF8

    restart the container with command <AgentDir>\CM\DB\exe\ctmdbcontainer.cmd stop


    - from version 9.0.18 (CM for DB included in the Application Pack)
    In the file  <AgentDir>\cm\AP\exe\start-cmweb.pl replace the line
        my $jvm_params = join "", '-DappName=APWebServer -Dfile.encoding=UTF-8 -XX:MaxNewSize=32m -Xms128m -Xmx2048m';
    with:
        my $jvm_params = join "", '-DappName=APWebServer -Dfile.encoding=UTF-8 -Dclient.encoding.override=UTF8 -XX:MaxNewSize=32m -Xms128m -Xmx2048m';

    restart the container with command <AgentDir>\cm\AP\exe\apmanager stop

    NOTE: The container will restart automatically.  Please do not restart it manually.

     


    Article Number:

    000022380


    Article Type:

    FAQ/Procedural



      Looking for additional information?    Search BMC Support  or  Browse Knowledge Articles