COBSQ0151: Cursor already DECLARED.

The cursor name in the DECLARE CURSOR statement has already been declared in the program.

Make sure the cursor name specified in the DECLARE CURSOR statement has not already been used in a previous DECLARE CURSOR statement, then recompile the program.