In this blog post, you’ll learn more about the Sybase Error Remote statement failed and the reason for receiving this error
Sybase SQL Error Message
Remote statement failed
Reason for this Error
This SQLSTATE can be signaled within a trigger to prevent the SQL Remote Message Agent (dbremote) from displaying an error message in the output. This exception will only occur when a trigger or procedure signals it. This is useful for ignoring replication errors that are permitted by design.