An IDMS statement in CA-OLQ results in the following error message:
OLQ 143012 08 Field too large to be in expression.
Release: All supported releases.
Component: OLQ.
The internal design of OLQ restricts the length of any character field used in a COMPUTE statement, a built-in function, or a WHERE clause, to 88 bytes. An attempt to use a longer field results in the OQ143012 message.
Use IDMS mode SQL (SET ACCESS IDMS) instead of OLQ mode (SET ACCESS OLQ).
This can be done in OLQ but it means that the SQL statement will be executed via the IDMS SQL Option. This is a much more robust engine which has no such restriction.
Using IDMS mode SQL will require the following:-