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:
> 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 Peppler Data Migrations, Inc.
firstname.lastname@example.org *or* email@example.com
International Sybase User Group: http://www.isug.com