‎2009 Sep 30 2:47 AM
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?
‎2009 Oct 08 7:13 AM
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?