About cookies on this site Our websites require some cookies to function properly (required). In addition, other cookies may be used with your consent to analyze site usage, improve the user experience and for advertising. For more information, please review your options. By visiting our website, you agree to our processing of information as described in IBM’sprivacy statement. To provide a smooth navigation, your cookie preferences will be shared across the IBM web domains listed here.
Troubleshooting
Problem
Informix 12.10 returns an illegal character error when an expression uses a string function and a zero length string.
For example, while connected to an Informix Dynamic 12.10xC14 server version the following will fail
- select lpad ( '', 1, ' ') from systables where tabid=1
- select rpad ( '', 1, ' ') from systables where tabid=1
- select char_length('') from systables where tabid=1
This issue does not in earlier Informix Dynamic Server 12.10 releases such as 12.10xC13.
This issue does not exist in Informix Dynamic Servr 14.10 releases.
This issue does not exist in Informix Dynamic Servr 14.10 releases.
Symptom
A SQL statement throws an exception, 202: An illegal character has been found in the statement.
Document Location
Worldwide
[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSTSF6","label":"IBM Cognos Analytics"},"ARM Category":[{"code":"a8m0z000000TN4sAAG","label":"Database"}],"ARM Case Number":"","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"All Versions","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}},{"Product":{"code":"SS6G84","label":"IBM Cognos Analytics on Cloud"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}}]
Log InLog in to view more of this document
This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.
Was this topic helpful?
Document Information
More support for:
IBM Cognos Analytics
Component:
Database
Software version:
All Versions
Operating system(s):
AIX, Linux, Windows
Document number:
6151749
Modified date:
06 May 2025
UID
ibm16151749