DB2-1012-00-E CANNOT OBTAIN WHERE CURRENT NEED CURSOR AND FETCH
Keyword WHERE CURRENT invalid in DB-OBTAIN call.
Restriction:
This topic applies only when the AppMaster Builder AddPack has been installed, and applies only to Windows platforms.
Resolution:
DB-DECLARE and DB-FETCH the cursor if cursor desired.
Parent topic:
DB2- SQL messages