Setting environment variables

Before using the compiler, verify that the environment variables LANG, MANPATH, NLSPATH, and PATH are set.

You can use the echo command to determine the current setting of these variables:
echo -e "\n $LANG \n\n $NLSPATH \n\n $MANPATH \n\n $PATH"
LANG Specifies the national language for message and help files. See National language support.

The LANG environment variable can be set to any of the locales provided on the system. See the description of locales in AIX® General Programming Concepts for more information.

The national language code for United States English is en_US. If the appropriate message catalogs have been installed on your system, any other valid national language code can be substituted for en_US.

   
MANPATH Optionally specifies the directory search path for finding man pages. MANPATH must contain /opt/IBM/xlC/13.1.0/man/$LANG before the default man path.
   
NLSPATH Specifies the path name of the message and help files.
   
PATH Specifies the directory search path for the executable files of the compiler.
Note: The LANG and NLSPATH environment variables are initialized when the operating system is installed, and might differ from the ones you want to use.