Informix Error -16332: Duplicate function name function-name.
Cause and resolution
Duplicate function name function-name.
The function name shown was found in a module that was being loaded. However, a function of that name had already been seen in a module that was loaded earlier. This situation is not allowed. Change the application so that all functions in it have unique names.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-16332 fires when a module being loaded contains a function name already seen in an earlier-loaded module — per the official guidance.
- Two modules in the same application defining a function with the same name, per the official guidance — the direct, only cause.
Solutions / Resolution
- Change the application so every function has a unique name, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond two modules sharing a function name.
Diagnostic Checks
- Search the application's modules for the named function, and rename or remove the duplicate.
Related Errors / Related Topics
- -16333 — "Duplicate module name module-name." The same duplicate-name condition, applied to whole modules rather than individual functions.
A function name is used in more than one loaded module — rename or remove the duplicate.