Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

EXSQL_DSQL_DUPLICATE_CURSOR in Native SQL

Former Member
0 Likes
975

I'm using the Native SQL to read data from a non-SAP database, when the connection fail, the {CONNECT TO :gcdbco } statement will not terminate with an exception, but when meet the {OPEN dbcur FOR SELECT.... } , system dump with the Non-Catchable Exception EXSQL_DSQL_DUPLICATE_CURSOR.

In the abap keyword documentation, EXSQL_DSQL_DUPLICATE_CURSOR means: Cause: The specified cursor is already open. A cursor was specified at a OPEN-command in Native SQL which the cursor administration knows as already opened.

But I can't create any connection, where the cursor come from?

1 REPLY 1
Read only

Former Member
0 Likes
619

Question solved, but I don't know the reason yet.

My PRD system did not install the Oracle Client, so it can't connect to the second database. After install the Oracle Client, the dump dispared.

But why this situation will cause the error EXSQL_DSQL_DUPLICATE_CURSOR, who can tell me?