PEPPLER.ORG
Michael Peppler
Sybase Consulting
Menu
Home
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
Freeware
Sybperl
Sybase::Simple
DBD::Sybase
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
FAQs
Sybase on Linux FAQ
Sybperl FAQ
Personal
Michael Peppler's resume

sybperl-l Archive

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:
 > All, 
 > 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
-- 
Michael Peppler         -||-  Data Migrations Inc.
mpeppler@peppler.org    -||-  http://www.mbay.net/~mpeppler
Int. Sybase User Group  -||-  http://www.isug.com
Sybase on Linux mailing list: ase-linux-list@isug.com