COBSQ0191 HAVING clause on a SELECT INTO will not bind.

Restriction: This topic applies to Windows environments only.

The SQL Option preprocessor found a HAVING clause in an embedded SELECT ... INTO statement. This is not valid on the mainframe.

Remove the GROUP BY clause or convert the statement into a DECLARE CURSOR statement, then recompile the program.