Hallo Baldur,
dieser Hinweis aus Memo to Users V7R1M0 kann Dir nicht weiterhelfen ?

SQL Query changes in collation of errors might result in a SQL0802
A change was made to not collate errors for SQL queries with ordering, distinct, or aggregation. This was
done to avoid providing unpredictable or wrong results when a result in error cannot be included in
ordering, aggregation, or distinct result sets. A selection error is now signaled in this scenario, using the
SQL0802 message with SQLCODE=-802 and SQLSTATE=’22003’. The SQL0802 message will be preceded
by CPF5035 and CPD4019 escape messages.
To allow compatibility with previous behavior, a new QAQQINI option, COLLATE_ERRORS, is available.
COLLATE_ERRORS -
Specifies how data errors are handled on the GROUP BY and ORDER BY expression
during hash or sort processing within queries.
Supported values:
v
*DEFAULT - The default is *NO.
v
*NO - A value of *NO causes the query to be ended with an error when a grouping or ordering
expression results in an error.
v
*YES - A value of *YES indicates that the grouping or sort continues.