Informix Error -9629: Not owner of type.
Cause and resolution
Not owner of type.
USAGE permission is required for the use of opaque types. Use the GRANT USAGE ON TYPE statement to grant permission to use a type.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-9629 fires when a user without USAGE permission tries to use an opaque type — per the official guidance.
- Missing USAGE permission on the opaque type, per the official guidance — the direct, only cause.
Solutions / Resolution
- Use the GRANT USAGE ON TYPE statement to grant permission to use the type, per the official guidance.
Examples
Granting USAGE permission
GRANT USAGE ON TYPE my_opaque_type TO myuser;
Diagnostic Checks
- Check the type's USAGE grants for the affected user, and grant USAGE if missing.
Related Errors / Related Topics
- -9628 — "Type (type_name) not found." A related type-usage error, on the type not existing at all rather than a missing permission.
The user lacked USAGE permission on the opaque type — grant it with GRANT USAGE ON TYPE.