Specified local connection ID not found

Error constant SQLE_LOCAL_CONNECTION_NOT_FOUND
ODBC 2 State ERROR
ODBC 3 State ERROR
Severity 16
SQLCODE –996
SQLSTATE WO024
Sybase error code 709
Probable cause

There is no connection with the specified connection ID.