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: Sybperl Vs Shell Scripts
Date: May 7 2002 8:11PM

On Tue, 2002-05-07 at 13:00, boss wrote:
>
> Also,
> it used to be the case that Sybase's DBCC commands wouldn't print to 
> Standard Out (only standard Error) and thus COULD NOT be run through
> perl programs if you wanted to see output.

It was always possible to see the output - just a question of defining
the correct message handler (for dblib) or server callback (for ctlib).

User-defined error handlers have been part of sybperl since 1992 or so
:-)

Of course sybperl *really* comes into its own for larger applications,
in particular when some form of data conversion is necessary (when
moving data between servers, for example)

Michael
-- 
Michael Peppler                              Data Migrations, Inc.
mpeppler@peppler.org           *or*          mpeppler@mbay.net
http://www.mbay.net/~mpeppler
International Sybase User Group: http://www.isug.com