Database Error Messages

SQL-02138

No external procedure context exists

Cause

The external procedure context passed in the EXEC SQL REGISTER CONNECT statement is not valid.


Action

Ensure that you have done the following:

  1. Created the PL/SQL procedure/function with a CONTEXT parameter.
  2. Included OCIExtProcContext in the formal parameter list of the external procedure
  3. Correctly passed the OCIExtProcContext to the EXEC SQL REGISTER CONNECT statement.