Previous Topic Next topic Print topic


COBSQ0141: PREPARE before DECLARE is illegal.

Restriction: This topic applies to Windows environments only.

The PREPARE statement must follow the DECLARE CURSOR that references it.

Move the DECLARE CURSOR statement before the PREPARE statement, then recompile the program.

Previous Topic Next topic Print topic