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

The method cannot be called at this time. Check that the method is not being called out of order.