The effect of the PRINT command depends on the client:
Adaptive Server Enterprise PRINT always sends a message to the client.
In SQL Anywhere and Sybase IQ, PRINT sends a message to the client for Open Client and JDBC connections.
Adaptive Server Enterprise stored procedures that rely on PRINT work in Sybase IQ using DBISQL.
Sybase IQ users might prefer dbisql with JDBC, rather than the iAdaptive Server Anywhere JDBC driver (formerly called the JDBC-ODBC bridge).