Created On: 19 March 2010
Problem:
When trying to start the data editor on an AIX machine, dfed, the following error appears:
Execution error : file 'sysfld'
error code: 40, pc=0, call=1, seg=0
40 National Language Initialization not set up correctly
Even setting up the .profile file according to the manual with the following does not help.
LANG=fr_FR
export LANG
Execution error : file 'sysfld'
error code: 40, pc=0, call=1, seg=0
40 National Language Initialization not set up correctly
Even setting up the .profile file according to the manual with the following does not help.
LANG=fr_FR
export LANG
Resolution:
This is something specific to an AIX platform.
The only way to get this to another locale setting is to do the following:
To change the locale setting, use the Manage Language Environment menu in SMIT, or edit the file /etc/environment and ensure that value LANG=en_US is set.
After rebooting the system, you should now see that the output of locale is as follows:
# locale
LANG=en_US
LC_COLLATE="en_US"
LC_CTYPE="en_US"
LC_MONETARY="en_US"
LC_NUMERIC="en_US"
LC_TIME="en_US"
LC_MESSAGES="en_US"
LC_ALL=
The only way to get this to another locale setting is to do the following:
To change the locale setting, use the Manage Language Environment menu in SMIT, or edit the file /etc/environment and ensure that value LANG=en_US is set.
After rebooting the system, you should now see that the output of locale is as follows:
# locale
LANG=en_US
LC_COLLATE="en_US"
LC_CTYPE="en_US"
LC_MONETARY="en_US"
LC_NUMERIC="en_US"
LC_TIME="en_US"
LC_MESSAGES="en_US"
LC_ALL=
Old KB# 31276