The effect of the PRINT command depends on the client:
Adaptive Server Enterprise PRINT always sends a message to the client
In Adaptive Server Anywhere and 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 IQ using DBISQL.
IQ users may prefer dbisql with JDBC, rather than the iAnywhere JDBC driver (formerly called the JDBC-ODBC bridge).