Informix Error -23522
-23522 CM error: An illegal range identifier was specified.
A request incorrectly specifies the range for a cogroup or coserver name. The correct format for the range component is %r(first..last), with 'first' a lower number than 'last'. Embedded white space is not allowed. Correct the specification and resubmit the request.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-23522 fires when a request incorrectly specifies a cogroup/coserver name range — per
the official guidance, the correct format is %r(first..last) with first less than
last and no embedded whitespace.
- A malformed range specification (wrong format,
first≥last, or embedded whitespace), per the official guidance — the direct, only cause.
Solutions / Resolution
- Correct the range specification to
%r(first..last), per the official guidance, withfirstless thanlastand no embedded whitespace.
Examples
A malformed range
%r(10..5)
Corrected
%r(5..10)
Diagnostic Checks
- Check the range specification's format, ordering, and whitespace, and correct it.
Related Errors / Related Topics
- -23521 — "CM error: An illegal identifier was specified." The general identifier- syntax error this is a specific case of, for range identifiers.
- -23523 — "CM error: An uneven number of cogroup members was specified." A related range-creation error, on the coserver count not dividing evenly rather than the range syntax itself.
A cogroup/coserver range identifier was malformed — use %r(first..last) with first
less than last.