Up Prev Next
From: Michael Peppler <mpeppler at peppler dot org>
Subject: Re: DBCC PSS output redirection to file - problem
Date: Sep 28 1999 7:52PM
Huang, Christa (GOS, ETS) writes:
> I am executing a very simple script which does dbcc pss for a particular
> spid. For some reason, I cannot redirect it to a file. Here is part of the
> script. Any help would be appreciated.
DBCC output is returned to the script via the server message
callback. You need to write an error handler that will write the
appropriate messages to the log file. See the lib/ct_util.pl and
eg/dbcc.pl files in the sybperl distribution for examples.
Michael Peppler -||- Data Migrations Inc.
firstname.lastname@example.org -||- http://www.mbay.net/~mpeppler
Int. Sybase User Group -||- http://www.isug.com
Sybase on Linux mailing list: email@example.com