-7026: SQL statement not allowed without previous FETCH

Explanation:

The attempt was made to issue an SQL statement with CURRENT OF for the table without having previously issued a successful FETCH statement on the specified result table.

User Action:

Issue a FETCH statement for this result table and repeat the SQL statement.