Too many open cursors

Error constant SQLE_TOO_MANY_CURSORS
ODBC 2 state ERROR
ODBC 3 state ERROR
Severity 17
SQLCODE -1230
SQLSTATE 54W12
Sybase error code 13287
 Probable cause