Informix Error -4612
Cause and resolution
Data validation table does not currently exist for this database.
The program uses a statement such as VALIDATE or INITIALIZE that requires input from the syscolval table; however that table does not exist in the current database. Possibly it has not been created (using the Column Attributes Dictionary utility in Windows or the upscol utility in DOS and UNIX); possibly it was inadvertently dropped from the database; or possibly the database now being used is not the one you expected, owing to a change in the value of the DBPATH environment variable.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-4612 fires when a program uses a statement such as VALIDATE or INITIALIZE that requires
input from the syscolval table, but that table doesn't exist in the current database — per
the official guidance.
syscolvalwas never created in the database — per the official guidance, it's created via the Column Attributes Dictionary utility (Windows) or theupscolutility (DOS/UNIX).syscolvalwas inadvertently dropped, per the official guidance.- The wrong database is in use, per the official guidance — owing to a change in the
DBPATHenvironment variable.
Solutions / Resolution
- Create
syscolvalusing the Column Attributes Dictionary utility (Windows) orupscol(DOS/UNIX), per the official guidance, if it was never created. - Restore
syscolvalif it was inadvertently dropped. - Check
DBPATHto confirm the intended database is actually in use, per the official guidance.
Examples
Recreating syscolval (DOS/UNIX)
$ upscol
Diagnostic Checks
- Check whether
syscolvalexists in the current database, confirmDBPATHpoints to the intended database, and recreate the table withupscol(or the Column Attributes Dictionary utility on Windows) if it's genuinely missing.
Related Errors / Related Topics
- -4613 — "Screen display attribute table does not currently exist for this database." An
identical failure mode, for the
syscolatttable rather thansyscolval.
The syscolval data-validation table doesn't exist in the current database — create it via
upscol/the Column Attributes Dictionary utility, or check DBPATH if the wrong database is
in use.