To verify you can connect to a remote server, perform a simple passthrough statement to a remote server to check your connectivity and remote login configuration. For example:
FORWARD TO testiq {select @@version}
See ”Connectivity tests” in SQL Anywhere Server - SQL Usage.