Informix Error -9754: No usage privilege.
Cause and resolution
No usage privilege.
The user does not have usage privilege on create functions or the user does not have grant/revoke usage privilege on a language. This error is returned when the user does not have the privilege to create a user-defined routine.
Ask user informix or a user with GRANT option privilege on the language to grant usage permission to you.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-9754 fires when a user lacks usage privilege needed to create a user-defined routine — per the official guidance.
- No usage privilege on CREATE FUNCTION/PROCEDURE, per the official guidance — the first named cause.
- No grant/revoke usage privilege on the routine's language, per the official guidance — the second named cause.
Solutions / Resolution
- Ask user
informix, or a user with GRANT option privilege on the language, to grant usage permission, per the official guidance.
Examples
Granting language usage permission
GRANT USAGE ON LANGUAGE java TO myuser;
Diagnostic Checks
- Check the user's usage privilege on CREATE FUNCTION/PROCEDURE and on the target
language, and have
informixor a GRANT-option holder grant it.
Related Errors / Related Topics
- -9629 — "Not owner of type." A related usage-privilege error, on opaque type usage rather than routine-creation usage privilege.
The user lacked usage privilege to create a UDR — have informix or a GRANT-option holder
grant it.