Informix Error -2921: The database dbname is not compatible with the current version of IBM Informix SQL.
Cause and resolution
The database dbname is not compatible with the current version of IBM Informix SQL.
A prior version of IBM Informix software created the database that is named in the DATABASE statement in this form. Before the present system can use the database, you must use the sqlconv utility to convert it.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-2921 fires when a form's DATABASE statement names a database created by a prior version of
IBM Informix software — per the official guidance, the present system can't use it until it's
converted.
- The database was created by an older IBM Informix version, per the official guidance — the direct, only cause.
Solutions / Resolution
- Convert the database using the
sqlconvutility, per the official guidance, before the present system can use it.
Examples
Converting the database
sqlconv mydb
Exact sqlconv invocation syntax can vary by IBM Informix version — consult the local
installation's own utility documentation before running it.
Diagnostic Checks
- Check the database's on-disk version against the currently installed IBM Informix SQL
version, and run
sqlconvif they don't match.
Related Errors / Related Topics
No closely related error codes are cross-referenced for -2921 in this set yet.
The named database predates the current IBM Informix SQL version — convert it with sqlconv
before compiling the form against it.