Support for PRINT differs in Adaptive Server Enterprise, SAP SQL Anywhere, and SAP Sybase IQ.
The effect of PRINT depends on the client:
Adaptive Server Enterprise PRINT always sends a message to the client.
In SAP SQL Anywhere and SAP 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 SAP Sybase IQ using Interactive SQL.