External environment does not support result sets

Error constant SQLE_EXTERN_ENV_NO_RESULT_SET_SUPPORT
ODBC 2 State ERROR
ODBC 3 State ERROR
Severity 11
SQLCODE –1213
SQLSTATE WJ031
Sybase error code 13301
Probable cause

You attempted to define dynamic result sets for an external environment that does not support result sets.