On 30 Oct 2012 15:28, CRPence wrote:
The message text "Function not supported for query." for the unnoted
message identifier is reminiscent of <<SNIP>>
sql0255 rc6

The UPPER scalar [shown in a reference below] is an effective variant of the TRANSLATE scalar [used in the failing query in this message thread].

Subject: ROW_NUMBER with LIKE in WHERE condition (pagination)
Date: 21-Dec-2010
"... SQL State: 42999 Vendor Code: -255 Message: SQL0255 Function not supported for query. Cause . . . . . : The reason code is 6: ... Code 6 An OLAP function is not supported for this query. ...
The ROW_NUMBER function is only supported by the SQL Query Engine. On V5R4, usage of the UPPER function prevents the SQL Query Engine (SQE) from being used. The UPPER restriction was removed with the 6.1 release, so one fix is upgrading to the 6.1 or 7.1 releases.

Subject: RANK/ROWNUMBER - Function not supported for query?
Date: Thu, 13 Dec 2007
"There are some limitations on SQE queries, which is what is needed for OLAP. ...

This thread ...

Return to Archive home page | Return to MIDRANGE.COM home page