Oracle Error ORA-28550: pass-through SQL: cursor not found

Oracle Error Message

ORA-28550: pass-through SQL: cursor not found

Reason for the Error

A value passed to a pass-through SQL function or procedure call as a cursor does not identify a currently open cursor.

Solution

Use a cursor number returned by the pass-through SQL OPEN_CURSOR call.