Retrieving results of print statements from server

If I issue a "print" statement in a Sybase Transact-SQL stored procedure
or batch, is there a way that I can retrieve that message on the client
side? Is there some event associated with a TQuery or a TStoredProc for
getting server messages? If the server messages are errors, they come
back through the exception-handling routines, but if they come from
plain print statements they just disappear.


Chris Cleveland
Genesee Development Group, Inc.
2000 North Racine Avenue, Suite 4100
Chicago, Illinois  60614
773.528.1700 voice, 773.528.8862 fax