Informix Error -26722: The surrogate user name (<username>) exceeds the maximum length of 32 characters. Specify a user name that has 32 characters or fewer. </username>
Cause and resolution
The surrogate user name (<username>) exceeds the maximum length of 32 characters. Specify a user name that has 32 characters or fewer. </username>
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-26722 fires when a surrogate user name exceeds 32 characters — per the official guidance.
- The surrogate user name is longer than 32 characters, per the official guidance — the direct, only cause.
Solutions / Resolution
- Specify a surrogate user name of 32 characters or fewer, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond an over-length surrogate user name.
Diagnostic Checks
- Check the surrogate user name's length, and shorten it to 32 characters or fewer.
Related Errors / Related Topics
- -26704 — "User name (
) exceeds the maximum length. Specify a user name that is not longer than 32 characters." The same restriction applied to a regular user name rather than a surrogate user name.
A surrogate user name exceeded 32 characters — shorten it.