No OPEN for cursor '%1'

Error code 2694
Probable cause

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