Informix Error -11318: Invalid VMBCHARLENEXACT value specified.
Cause and resolution
Invalid VMBCHARLENEXACT value specified.
This is an extended message to SQLSTATE value S1000. Functions that can generate this error: SQLBrowseConnect and SQLDriverConnect.
The valid values are 0 and 1.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-11318 fires when a connect string's VMBCHARLENEXACT option has an invalid value — per
the official guidance, an extended message on SQLSTATE value S1000, returnable by
SQLBrowseConnect and SQLDriverConnect.
- A
VMBCHARLENEXACTvalue other than0/1, per the official guidance — the direct, only cause.
Solutions / Resolution
- Set
VMBCHARLENEXACTto0or1, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond an invalid VMBCHARLENEXACT value.
Diagnostic Checks
- Check the
VMBCHARLENEXACTvalue in the connect string, and confirm it's exactly0or1.
Related Errors / Related Topics
- -11317 — "Invalid CONNECTDATABASE value specified." The same class of invalid connect-string-option error, for a different keyword.
VMBCHARLENEXACT wasn't set to 0/1 — use one of those two values.