If your system uses the en_US locale and encoding, the compiler message catalogs are automatically configured to display correctly, whether you used the basic or advanced method of installation and configuration. However, if your system uses any other supported locale (for a list of supported language locales, see National language support), you must set the NLSPATH environment variable so that the compiler and runtime functions can find the appropriate message catalogs following installation. If your system uses the en_US locale but the runtime is installed in a non-default location, you must set the NLSPATH environment variable.
The command to set the NLSPATH environment variable depends on the shell that you are using.
export NLSPATH=$NLSPATH: xlsmprt_path/msg/%L/%N: xlrte_path/msg/%L/%N: xlcmp_path/xlf/10.1/msg/%L/%N
setenv NLSPATH $NLSPATH: xlsmprt_path/msg/%L/%N: xlrte_path/msg/%L/%N: xlcmp_path/xlf/10.1/msg/%L/%N