Cannot handle expressions involving remote tables inside stored procedures

Error constant SQLE_OMNI_EXPRESSION_IN_PROC
ODBC 2 state ERROR
ODBC 3 state ERROR
Severity 12
SQLCODE -823
SQLSTATE WO023
Sybase error code 13829
 Probable cause