Troubleshooting
Problem
The COBOL for AIX compiler is trying to issue a message but it is unable to find the catalog of messages.
Cause
Environment variable LANG may be wrong.
Diagnosing The Problem
See if the message catalogs (there are two) are here:
/usr/lib/nls/msg/en_US/cobol2run.cat
/usr/lib/nls/msg/en_US/IGYCMSGS.CAT
Resolving The Problem
Use the following command:
export LANG=en_US
Note: This is an environmental variable on AIX. It is case sensitive.
The export command is usually declared in file /etc/environment and then optionally overridden in your home directory files .profile or .dtprofile.
Note: If the export does not solve the problem, view the environment variable NLSPATH.
It is best exported as NLSPATH=/usr/lib/nls/msg/%L/%N:/usr/lib/nls/msg/%N
Was this topic helpful?
Document Information
Modified date:
08 August 2018
UID
swg21260041