Previous Topic Next topic Print topic


NLS Initialization

The run-time system initializes the NLS facility only once during an application's run. It uses the operating system's regional settings to determine which language environment to set up for this program using the LANG environment variable.

The run-time system uses the same language environment for any subsequent programs within the application which are compiled using NLS facilities.

If an error occurs during this initialization process, for example the language specified in the LANG environment variable is not supported, the run-time system reports the error:

40  National Language initialization not set up correctly 

and terminates its run.

You can also receive this error if the LANG environment variable was set up by a third party product in a format different from that used by this PL/I system. If this occurs, use the COBLANG environment variable instead of the LANG environment variable.

If the run-time system cannot find the NLS run-time support modules, it issues the message:

46  NLS support module not found

and terminates its run.

Previous Topic Next topic Print topic