DB2-1009-00-W Cursor not declared

You did not declare the cursor name.
Restriction: This topic applies only when the AppMaster Builder AddPack has been installed, and applies only to Windows platforms.

Resolution:

Check the cursor name to make sure it is declared.