IBM Books

MPI Subroutine Reference


National language support (NLS)

For national language support (NLS), all PE components and tools display messages located in externalized message catalogs. English versions of the message catalogs are shipped with the PE licensed program, but your site may be using its own translated message catalogs. The PE components use the AIX environment variable NLSPATH to find the appropriate message catalog. NLSPATH specifies a list of directories to search for message catalogs. The directories are searched, in the order listed, to locate the message catalog. In resolving the path to the message catalog, NLSPATH is affected by the values of the environment variables LC_MESSAGES and LANG. If you get an error saying that a message catalog is not found and you want the default message catalog:

ENTER
export NLSPATH=/usr/lib/nls/msg/%L/%N

export LANG=C

The PE message catalogs are in English, and are located in the following directories:

/usr/lib/nls/msg/C

/usr/lib/nls/msg/En_US

/usr/lib/nls/msg/en_US

If your site is using its own translations of the message catalogs, consult your system administrator for the appropriate value of NLSPATH or LANG. For more information on NLS and message catalogs, see IBM AIX 5L(TM) Version 5.1 General Programming Concepts: Writing and Debugging Programs.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]