IBM Support

The LOCALE subcommand of the SET command has an invalid parameter.

Troubleshooting


Problem

When attempting to set locale to Norwegian the program generates Warning 849. Error Message: Warning # 849 >Warning # 849 in column 23. Text: no_NO >The LOCALE subcommand of the SET command has an invalid parameter. It could >not be mapped to a valid backend locale.

Resolving The Problem

Verify the desired locale is installed on the client and a corresponding server locale must be defined in 'loclmap.xml' for the server. By default, Norwegian is not specified as a server locale in 'localmap.xml;, but this is easily remedied.

Go to the "Start -> Settings -> Control Panel -> Regional and Language options" menu to look at what locales are available. Standard locales "Norwegian (Bokmal)" and "Norwegian (Nynorsk)" are usually already installed. These are locales "nb_NO" and "nn_NO" respectivley. You can add them to the loclmap.xml

<client-locale name="Norwegian_Bokmal">
<server-locale name="nb_NO"></server-locale>
</client-locale>

<client-locale name="Norwegian_Nynorsk">
<server-locale name="nn_NO"></server-locale>
</client-locale>

Now do a SET LOCALE= Norwegian_Bokmal. You should get back the first found locale "nb_NO" or "nb_NO.windows-1252".

NOTE: This issue has been seen with other languages. When these other languages were removed and the software re-installed, the problem was solved.

[{"Product":{"code":"SSLVMB","label":"IBM SPSS Statistics"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Not Applicable","Platform":[{"code":"PF033","label":"Windows"}],"Version":"18.0","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Historical Number

83055

Document Information

Modified date:
16 April 2020

UID

swg21478210