No FETCH or PUT for cursor '%1'

Error code 2695
Probable cause

A cursor is declared and opened, but is never used.