LOCPATH Environment Variable

The value of this environment variable gives the search path for locale information not in the current directory when your program calls the setlocale function to set or query locale categories. It is also used to locate converter DLLs and tables for the iconv_open function.

When you install VisualAge C++, this variable is set to point to the location of locale information provided with the product.

By default, on Windows LOCPATH is set to X:\IBMCPPW40\LOCALES,where X: is the drive you installed VisualAge C++.

Note: If Version 3.5 is also installed, you should remove the LOCPATH user variable.

If you installed VisualAge C++ on drive D, a statement similar to the following appears in your config.sys file:

SET LOCPATH=D:\IBMCPP40\LOCALES



Application Run-Time Environment Variables


Set Windows Run-Time Environment Variables
Set OS/2 Run-Time Environment Variables


Locale Category Environment Variables
NLSPATH Environment Variable
Locale Categories