FOR UPDATE or FOR READ ONLY clause must be specified on PREPARE (not on DECLARE CURSOR)

Error constant SQLE_CURSOR_UPDATABILITY_CHANGED
ODBC 2 state S1009
ODBC 3 state HY092
Severity 16
SQLCODE -1290
SQLSTATE 42WD4
Sybase error code 13651
 Probable cause