Wrong number of variables in FETCH

Item Value
SQLCODE -264
Constant SQLE_WRONG_NUM_OF_FETCH_VARIABLES
SQLSTATE 42W26
Sybase error code 553
ODBC 2 State S1002
ODBC 3 State 07009

Probable cause 

You specified a number of variables in a FETCH statement that does not match the number of select list items.