COBSQ0107: INTO not allowed for DECLARE.

An INTO is not allowed on a DECLARE CURSOR statement.

See the SQL Referencefor the correct usage of the DECLARE CURSOR statement.