Informix Error -22622: Type type-name is unknown.
Cause and resolution
Type type-name is unknown.
This message indicates an IBM Informix ESQL/FORTRAN preprocessor error. The symbol is not a declared type. Declare type-name and try again.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-22622 fires when a referenced symbol isn't a declared type — per the official guidance.
- A symbol referenced as a type that hasn't been declared, per the official guidance — the direct, only cause.
Solutions / Resolution
- Declare the named type and try again, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond referencing an undeclared type.
Diagnostic Checks
- Check whether the flagged type name has actually been declared, and add the declaration if missing.
Related Errors / Related Topics
- -22600 — "Invalid SQL type type-name. Internal error." A related type-validity error, on an invalid SQL type name rather than an undeclared type.
A referenced type wasn't declared — declare it.