Method '%1' cannot be called at this time

Error constant SQLE_METHOD_CANNOT_BE_CALLED
ODBC 2 state ERROR
ODBC 3 state ERROR
Parameter 1 The name of the method.
Severity 16
SQLCODE -669
SQLSTATE WJ001
Sybase error code 13711
 Probable cause