For Control-M components to communicate properly with each other, you must set the locale for all product components to the same value. Complete this task on every computer or UNIX account that runs components of the following products:
To configure the UNIX or Linux environment:
Use the same language locale for all affected computers. Discrepancies between locale settings, especially those involving different character sets, can corrupt data as it passes between components.
ISO Latin -1 character set locale settings for UNIX and Linux
Language |
AIX\®, Solaris, Compaq (OSF) |
HP-UX |
Linux (RedHat) |
Linux (SuSE) |
---|---|---|---|---|
English (USA) |
en_US.ISO8859-1 |
en_US.iso88591 |
en_US.iso88591 |
en_US |
English (British) |
en_GB.ISO8859-1 |
en_GB.iso88591 |
en_GB.iso88591 |
en_GB |
German |
de_DE.ISO8859-1 |
de_DE.iso88591 |
german |
german |
French |
fr_FR.ISO8859-1 |
fr_FR.iso88591 |
french |
french |
Spanish |
es_ES.ISO8859-1 |
es_ES.iso88591 |
spanish |
spanish |
When configuring Control-M/Agent on operating systems not listed in the above table, use the locale setting for the operating system that corresponds to the one selected for Control‑M/EM and Control-M/Server. For help, contact your UNIX administrator.
If necessary, add lines for these environment variables, listing them in the order shown in the following table.
UNIX environment variables for West European languages
Environment variable |
Description / value |
---|---|
LC_ALL |
"" (an empty string) Set this variable by adding the following line to the .ctmcshrc file for Control-M/Server, the $HOME/ctm_em/etc/em_env.csh file for Control-M/EM, and in the .cshrc file for all other components: setenv LC_ALL "" |
LC_CTYPE |
the value of the required language locale. See the previous table for UNIX locales. Set these variables by adding the following lines to the .ctmcshrc file for Control-M/Server, the $HOME/ctm_em/etc/em_env.csh file for Control-M/EM, and in the .cshrc file for all other components: setenv LC_CTYPE localeName |
LC_COLLATE |
C for all languages (or c, as defined on the computer). To determine whether the C locale is present, use the locale -a command. If the C (or c) locale is not present, you can use POSIX or one of the English locales that appear in the previous table. Set this variable by adding the following line to the .ctmcshrc file for Control-M/Server, the $HOME/ctm_em/etc/em_env.csh file for Control-M/EM, and in the .cshrc file for all other components: setenv LC_COLLATE C |
LC_MESSAGES |
C (or c, as defined on the computer) for all languages on accounts where Control-M/Server is installed. This variable only applies to Control-M/Server only. To determine whether the C locale is present, use the locale -a command. If the C (or c) locale is not present, use POSIX or one of the English locales that appear in the previous table. Set this variable by adding the following line to the .ctmcshrc file for Control-M/Server, the $HOME/ctm_em/etc/em_env.csh file for Control-M/EM, and in the .cshrc file for all other components: setenv LC_MESSAGES C |
The following examples reflect the values that are set after applying the values to the environment in the next step.
LC_ALL=
LC_CTYPE=de_DE.ISO8859-1
LANG=de_DE.ISO8859-1
LC_COLLATE=C
LC_MESSAGES=C
For more information about the Locale parameter, see Agent configuration parameters.
Parent Topic |