Up Prev Next
From: Michael Peppler <mpeppler at peppler dot org>
Subject: Re: Using DBD::Sybase / DBI to talk to replication server
Date: Feb 12 2006 3:17PM
On Sun, 2006-02-12 at 16:08 +0100, Simon J Mudd wrote:
> Hello All,
> I am writing a script to manage a repserver and want to use DBI/DBD::Sybase to talk to
> the rep server.
> The normal DBI SQL stuff works fine with ASE servers and I can also get
> back print statements from them. However when I try to do the same thing
> using the syb_err_handler I don't seem to be able to capture the output
> produced by the repserver.
The output from rep server commands (such as "admin who") is returned as
result sets, so a normal prepare()/execute()/fetch() loop works fine.
Michael Peppler - firstname.lastname@example.org - http://www.peppler.org/
Sybase DBA/Developer - TeamSybase: http://www.teamsybase.com/
Sybase on Linux FAQ: http://www.peppler.org/FAQ/linux.html