Support for PRINT differs in Adaptive Server Enterprise, SQL Anywhere, and Sybase IQ.
The effect of PRINT 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 Interactive SQL.