KFSP31007-E

When a GROUP BY clause is specified, its select expression can only be elements specified by a GROUP BY clause and value expressions in which these are primaries, or a set function. Query name = aa....aa, incorrect character string = bb....bb

aa....aa: Query name
bb....bb: Incorrect character string
Description:
Something other than an element specified by a GROUP BY clause has been specified in a select expression.
System processing:
Stops query registration processing.
Action to take:
Revise the select expression and GROUP BY clause.