Error 298

"Attempted two active database requests"

Item Description

SQLCode

-298L

Constant

DOUBLE_REQUEST

SQLState

42W22

ODBC 2 State

ERROR

ODBC 3 State

ERROR

Sybase Error Code

2187

Severity Code

16

Probable cause

In embedded SQL, you attempted to submit a database request while you have another request in progress. You should either use a separate SQLCA and connection for each thread accessing the database, or use thread synchronization calls to ensure that a SQLCA is only accessed by one thread at a time.


Created April 27, 2010. Send feedback on this help topic to Sybase Technical Publications: pubs@sybase.com