"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 |
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.