Oracle Error ORA-26936: must execute OCIPOGGCaptureAttach before invoking string function

Oracle Error Message

ORA-26936: must execute OCIPOGGCaptureAttach before invoking string function

Reason for the Error

An attempt was made to invoke the specified function before executing OCIPOGGCaptureAttach call.

Solution

Add OCIPOGGCaptureAttach call before the specified function.