Tobias Hausmann writes:
> Hi,
>
> Right now, I am working on a dbcc perl script for a Sybase database. I
> have noticed that I get a different output with dbi (do(do checkdb ...))
> than with isql. What can I do to get the same output with dbi as with
> isql. I plan to use the output to check the database for any kind of
> inconsistencies.
The output from dbcc commands goes to the server callback handler. You
need to install an error handler and process the messages there - see
the syb_err_handle attribute for details.
Michael
--
Michael Peppler - Data Migrations Inc. - http://www.mbay.net/~mpeppler
[EMAIL PROTECTED] - [EMAIL PROTECTED]
International Sybase User Group - http://www.isug.com