Informix Error -2023: This quoted string exceeds the maximum length for quoted strings, which is length.
Cause and resolution
This quoted string exceeds the maximum length for quoted strings, which is length.
You cannot use longer quoted strings. In a form, you cannot join shorter strings to make longer ones, so this maximum is an absolute length limit. You must revise the form specification and recompile it.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-2023 fires when a quoted string literal in a form specification exceeds the maximum allowed length — per the official guidance, this is an absolute boundary; strings can't be joined together to work around it.
- A quoted string literal longer than the documented maximum, per the official guidance — the direct, only cause.
Solutions / Resolution
- Revise and recompile the form specification with shorter quoted strings, per the official guidance — per the official guidance's own note, splitting/concatenating strings doesn't bypass this limit.
Examples
N/A
No specific triggering statement is documented — shorten the specific oversized quoted string literal.
Diagnostic Checks
- Identify the specific oversized quoted string literal, and shorten it directly rather than attempting to split it across multiple literals.
Related Errors / Related Topics
No closely related error codes are cross-referenced for -2023 in this set yet.
A quoted string literal exceeds the maximum length, which can't be worked around by splitting it — shorten it directly.