Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> PLS-00993: cursor variables cannot be passed as RPC arguments or

PLS-00993: cursor variables cannot be passed as RPC arguments or

From: Jones, David <David.Jones_at_acnielsen.co.uk>
Date: Tue, 07 Aug 2001 06:54:15 -0700
Message-ID: <F001.00362A76.20010807070025@fatcity.com>

I am getting this error when trying to call a packaged procedure, with an in/out ref cursor, across instances and servers.

Both instances are 8.0.4. (database and PL/SQL)

The documentation (below) implies that this should be possible with my version of PL/SQL. Is this just a lie, or am I doing something wrong?


PLS-00993: cursor variables cannot be passed as RPC arguments or results

Cause: An attempt was made to pass a cursor variable to or from a remote subprogram, which is not allowed. For example, a remote procedure cannot be used to open a cursor variable because remote subprograms cannot return the values of cursor variables.

Action: Change the subprogram call to reference a local database. Or consider an upgrade to PL/SQL 2.3, where this restriction is not present, or rewrite your application using OCI or precompiler.



Thanks
David Jones
ACNielsen, Oxford, UK

--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Jones, David
  INET: David.Jones_at_acnielsen.co.uk

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Tue Aug 07 2001 - 08:54:15 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US