Informix Error Messages and Error Codes From Error 495 to 502


Informix Error Code -495 LANG or LC_MONETARY environment variable invalid.
You specified an invalid value for a LANG or LC_MONETARY environment variable.
Informix Error Code -496 LANG or LC_NUMERIC environment variable invalid.
You specified an invalid value for a LANG or LC_NUMERIC environment variable.

Informix Error Code -497 LANG or LC_TIME environment variable invalid.
You specified an invalid value for a LANG or LC_TIME environment variable.

Informix Error Code -498 Bad ixtomsg file. Please check installation.
The version of the ixtomsg file, which holds the mapping table of SQLCODE to SQLSTATE values, is illegal. The ixtomsg file is located in the directory $INFORMIXDIR/msg. Check the date and size of the file. If the error recurs, please note all circumstances and contact Informix Technical Support.
Informix Error Code -500 Clustered index index-name already exists in the table.
A table may be clustered on only one index at a time. This table is already clustered on the index whose name is shown. Before you can cluster on another index, you must execute ALTER INDEX index-name TO NOT CLUSTER. To see which tables are clustered on which indexes, query sysindexes and systables as follows:
SELECT tabname, idxname FROM systables T, sysindexes X
WHERE T.tabid = X.tabid AND X.clustered = ‘C’

Informix Error Code -501 Index index-name is already not clustered.
The table is no longer clustered on this index (if it ever was). Make sure that this is the index you meant; if so, you do not need to alter this index. For a way to see which tables are clustered, see the discussion of error -500.
Informix Error Code -502 Cannot cluster index.
While the database server was building a new copy of the table with rows in clustered sequence, it got an unexpected error. Check the accompanying ISAM error code for more information. Typical causes include a shortage of disk space.

Above are list of Informix Error Messages and Errors Codes or Status Codes or Exit Codes along with Error and Warning messages received while performing certain operation against Informix applications or related products.

What are Informix Error Messages?
All Informix messages returned by the Informix server are assigned an error code.

In general, each Informix error contains the following information:
• The Informix Error Code or Informix Error status
• The message text. This text is usually returned with the Error code. Some messages employ word substitution, where the word substituted represents the system-replacement of a term more specific to the occurrence.
• An explanation of how the error may have occurred.

Hope this was helpful.

SQLServerF1 Team
Information about Informix Error Codes or Status Codes or Exit Codes and Error Messages on Windows, Linux Operating Systems.