Environment variables

You can use environment variables to specify necessary system information.

Before using the compiler, you must install the message catalogs and set the environment variables:

LANG
Specifies the national language for message and help files.
NLSPATH
Specifies the path name of the message and help files.

The LANG environment variable can be set to any of the locales provided on the system. See the description of locales in z/OS XL C/C++ Programming Guide for more information.

The national language code for United States English may be En_US or C. If the Japanese message catalog has been installed on your system, you can substitute Ja_JP for En_US.

To determine the current setting of the national language on your system, see the output from both of the following echo commands:

The LANG and NLSPATH environment variables are initialized when the operating system is installed, and may differ from the ones you want to use.